aboutsummaryrefslogtreecommitdiff
path: root/DebugUtils
diff options
context:
space:
mode:
Diffstat (limited to 'DebugUtils')
-rw-r--r--DebugUtils/GTMMethodCheck.m8
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];
}