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:
David Chisnall 2011-07-07 12:30:10 +00:00
parent 0618607b3a
commit 99141c2dc1

View file

@ -58,6 +58,7 @@ void _Block_release(void *);
}
nscopying = objc_getProtocol("NSCopying");
class_addProtocol(blockClass, nscopying);
free(methods);
}
- (id) copyWithZone: (NSZone*)aZone