mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 00:00:43 +00:00
Fix memory leaks found by static analyser.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32529 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
02d5a28637
commit
782af1ee89
8 changed files with 20 additions and 5 deletions
|
@ -74,7 +74,7 @@
|
|||
// Initializing a New Instance
|
||||
+ (id) imageRepWithData: (NSData *)epsData
|
||||
{
|
||||
return [[self alloc] initWithData: epsData];
|
||||
return AUTORELEASE([[self alloc] initWithData: epsData]);
|
||||
}
|
||||
|
||||
- (id) initWithData: (NSData *)epsData
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue