mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Fix a memory leak that valgrind spotted.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33479 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0618607b3a
commit
99141c2dc1
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ void _Block_release(void *);
|
|||
}
|
||||
nscopying = objc_getProtocol("NSCopying");
|
||||
class_addProtocol(blockClass, nscopying);
|
||||
free(methods);
|
||||
}
|
||||
|
||||
- (id) copyWithZone: (NSZone*)aZone
|
||||
|
|
Loading…
Reference in a new issue