Commit 9240acd1 authored by Thomas Van Lenten's avatar Thomas Van Lenten

Merge pull request #1350 from thomasvl/over_release

The message was autoreleased, the -releases are an over release.
parents 81269122 3f917447
...@@ -1920,7 +1920,6 @@ static GPBUnknownFieldSet *GetOrMakeUnknownFields(GPBMessage *self) { ...@@ -1920,7 +1920,6 @@ static GPBUnknownFieldSet *GetOrMakeUnknownFields(GPBMessage *self) {
} }
} }
@catch (NSException *exception) { @catch (NSException *exception) {
[message release];
message = nil; message = nil;
if (errorPtr) { if (errorPtr) {
*errorPtr = MessageErrorWithReason(GPBMessageErrorCodeMalformedData, *errorPtr = MessageErrorWithReason(GPBMessageErrorCodeMalformedData,
...@@ -1929,7 +1928,6 @@ static GPBUnknownFieldSet *GetOrMakeUnknownFields(GPBMessage *self) { ...@@ -1929,7 +1928,6 @@ static GPBUnknownFieldSet *GetOrMakeUnknownFields(GPBMessage *self) {
} }
#ifdef DEBUG #ifdef DEBUG
if (message && !message.initialized) { if (message && !message.initialized) {
[message release];
message = nil; message = nil;
if (errorPtr) { if (errorPtr) {
*errorPtr = MessageError(GPBMessageErrorCodeMissingRequiredField, nil); *errorPtr = MessageError(GPBMessageErrorCodeMissingRequiredField, nil);
......
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