aboutsummaryrefslogtreecommitdiffhomepage
path: root/objectivec/GPBDescriptor.m
diff options
context:
space:
mode:
authorGravatar Sergio Campamá <kaipi@google.com>2016-06-14 06:28:22 -0700
committerGravatar Thomas Van Lenten <thomasvl@google.com>2016-06-14 09:28:22 -0400
commit71f4a9c6f35007609ef423ab643c05c1f88731ce (patch)
tree09d8a4ded86a6376106252585b9f7cf398c60314 /objectivec/GPBDescriptor.m
parent088c5c491e7a1c95c7b8eb55f119a8a999c81dc1 (diff)
Fixes Xcode 8 analyzer warning saying that it was missing a release in dealloc (#1678)
Diffstat (limited to 'objectivec/GPBDescriptor.m')
-rw-r--r--objectivec/GPBDescriptor.m5
1 files changed, 5 insertions, 0 deletions
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