From e1517e15e62773672a3a1e8990746e98a23c49ab Mon Sep 17 00:00:00 2001 From: theraven Date: Thu, 7 Jul 2011 12:30:10 +0000 Subject: [PATCH] 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 --- Source/GSBlocks.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/GSBlocks.m b/Source/GSBlocks.m index 18f0c4892..246606180 100644 --- a/Source/GSBlocks.m +++ b/Source/GSBlocks.m @@ -58,6 +58,7 @@ void _Block_release(void *); } nscopying = objc_getProtocol("NSCopying"); class_addProtocol(blockClass, nscopying); + free(methods); } - (id) copyWithZone: (NSZone*)aZone