diff options
author | Sergio Campamá <kaipi@google.com> | 2016-06-14 06:28:22 -0700 |
---|---|---|
committer | Thomas Van Lenten <thomasvl@google.com> | 2016-06-14 09:28:22 -0400 |
commit | 71f4a9c6f35007609ef423ab643c05c1f88731ce (patch) | |
tree | 09d8a4ded86a6376106252585b9f7cf398c60314 /objectivec | |
parent | 088c5c491e7a1c95c7b8eb55f119a8a999c81dc1 (diff) | |
download | protobuf-71f4a9c6f35007609ef423ab643c05c1f88731ce.tar.gz protobuf-71f4a9c6f35007609ef423ab643c05c1f88731ce.tar.bz2 protobuf-71f4a9c6f35007609ef423ab643c05c1f88731ce.zip |
Fixes Xcode 8 analyzer warning saying that it was missing a release in dealloc (#1678)
Diffstat (limited to 'objectivec')
-rw-r--r-- | objectivec/GPBDescriptor.m | 5 |
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 |