From 71f4a9c6f35007609ef423ab643c05c1f88731ce Mon Sep 17 00:00:00 2001 From: Sergio Campamá Date: Tue, 14 Jun 2016 06:28:22 -0700 Subject: Fixes Xcode 8 analyzer warning saying that it was missing a release in dealloc (#1678) --- objectivec/GPBDescriptor.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/objectivec/GPBDescriptor.m b/objectivec/GPBDescriptor.m index 898f231d..d27d6892 100644 --- a/objectivec/GPBDescriptor.m +++ b/objectivec/GPBDescriptor.m @@ -271,6 +271,11 @@ static NSArray *NewFieldsArrayForHasIndex(int hasIndex, return self; } +- (void)dealloc { + [package_ release]; + [super dealloc]; +} + @end @implementation GPBOneofDescriptor -- cgit v1.2.3