mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Memory Leeks from Richard.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2625 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f345d5670d
commit
658a1947fb
7 changed files with 33 additions and 24 deletions
|
@ -774,6 +774,7 @@ readContentsOfFile(NSString* path, void** buf, unsigned* len)
|
|||
autorelease];
|
||||
#else
|
||||
return [[[NSDataMalloc alloc] initWithBytes:bytes length:length]
|
||||
autorelease];
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue