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:
theraven 2011-07-07 12:30:10 +00:00
parent d5d099e7a6
commit e1517e15e6

View file

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