Skip to content
This repository has been archived by the owner on Aug 7, 2019. It is now read-only.

Commit

Permalink
fixed a crash
Browse files Browse the repository at this point in the history
changed to point to local var (as opposed to sending message to
possibly deallocated object)
  • Loading branch information
regennz committed Sep 24, 2014
1 parent d05ce45 commit b504080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OrigamiEngine/ORGMConverter.m
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ - (void)dealloc {
free(callbackBuffer);
free(writeBuf);
[_convertedData release];
self.inputUnit = nil;
_inputUnit = nil;
[super dealloc];
}

Expand Down

3 comments on commit b504080

@gerchicov-bp
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you didn't fix it
now this problem causes memory leak

@freemanlam
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@TiSsaa
Copy link

@TiSsaa TiSsaa commented on b504080 Apr 5, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Please sign in to comment.