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:
Fred Kiefer 2011-03-10 23:03:01 +00:00
parent 02d5a28637
commit 782af1ee89
8 changed files with 20 additions and 5 deletions

View file

@ -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