diff --git a/JJException/Source/MRC/NSObject+KVOCrash.m b/JJException/Source/MRC/NSObject+KVOCrash.m index 585698c..c0194a3 100644 --- a/JJException/Source/MRC/NSObject+KVOCrash.m +++ b/JJException/Source/MRC/NSObject+KVOCrash.m @@ -43,6 +43,9 @@ - (NSUInteger)hash{ - (void)dealloc{ self.observer = nil; self.context = nil; + if (self.keyPath) { + [self.keyPath release]; + } [super dealloc]; }