Commit 71f4a9c6 authored by Sergio Campamá's avatar Sergio Campamá Committed by Thomas Van Lenten

Fixes Xcode 8 analyzer warning saying that it was missing a release in dealloc (#1678)

parent 088c5c49
...@@ -271,6 +271,11 @@ static NSArray *NewFieldsArrayForHasIndex(int hasIndex, ...@@ -271,6 +271,11 @@ static NSArray *NewFieldsArrayForHasIndex(int hasIndex,
return self; return self;
} }
- (void)dealloc {
[package_ release];
[super dealloc];
}
@end @end
@implementation GPBOneofDescriptor @implementation GPBOneofDescriptor
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment