diff options
Diffstat (limited to 'DebugUtils/GTMMethodCheck.m')
-rw-r--r-- | DebugUtils/GTMMethodCheck.m | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/DebugUtils/GTMMethodCheck.m b/DebugUtils/GTMMethodCheck.m index a8c4ae3..0d55e11 100644 --- a/DebugUtils/GTMMethodCheck.m +++ b/DebugUtils/GTMMethodCheck.m @@ -151,13 +151,9 @@ void GTMMethodCheckMethodChecker(void) { } } } - if (methods) { - free(methods); - } - } - if (classes) { - free(classes); + free(methods); } + free(classes); [pool release]; } |