aboutsummaryrefslogtreecommitdiff
path: root/protobuf.pc.in
diff options
context:
space:
mode:
authorHiroshi Ichikawa <gimite@gmail.com>2018-05-01 00:44:41 +0900
committerThomas Van Lenten <thomasvl@google.com>2018-04-30 11:44:41 -0400
commit7d978084ca28ac8a456dbdd9d6b39e6dfc169fd9 (patch)
tree3b994554a1a82a27396b61eef5e2e1f4dcb5676e /protobuf.pc.in
parentfc922d16ed7ae3c19defe82228a9760f3d8d1073 (diff)
downloadprotobuf-7d978084ca28ac8a456dbdd9d6b39e6dfc169fd9.tar.gz
protobuf-7d978084ca28ac8a456dbdd9d6b39e6dfc169fd9.tar.bz2
protobuf-7d978084ca28ac8a456dbdd9d6b39e6dfc169fd9.zip
[objectivec] Fix memory leak of exceptions raised by RaiseException() (#4556)
* Fix memory leak of exceptions raised by RaiseException() Currently exceptions raised by RaiseException() is never deallocated because: * ARC is disabled for this library: https://github.com/google/protobuf/blob/master/BUILD#L913 * It is constructed with `+alloc` but is never `-release`d. This change fixes the issue by using `-[NSException exceptionWithName:...]` instead, which returns an autoreleased instance, so it is deallocated properly. * Fix format.
Diffstat (limited to 'protobuf.pc.in')
0 files changed, 0 insertions, 0 deletions