]> Cypherpunks repositories - gostls13.git/commit
runtime/cgo: CFRelease result from CFBundleCopyResourceURL
authorElias Naur <elias.naur@gmail.com>
Mon, 27 Mar 2017 09:14:53 +0000 (11:14 +0200)
committerElias Naur <elias.naur@gmail.com>
Mon, 27 Mar 2017 18:12:17 +0000 (18:12 +0000)
commit2b4274d66767039bab5dee4639a7558b101f46a0
treec87defee65064dc1f89a96d6ce2ca005dc5d4d7b
parentf97830114497d88a980859440bea51b252d0601e
runtime/cgo: CFRelease result from CFBundleCopyResourceURL

The result from CFBundleCopyResourceURL is owned by the caller. This
CL adds the necessary CFRelease to release it after use.

Fixes #19722

Change-Id: I7afe22ef241d21922a7f5cef6498017e6269a5c3
Reviewed-on: https://go-review.googlesource.com/38639
Run-TryBot: Elias Naur <elias.naur@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
src/runtime/cgo/gcc_darwin_arm.c
src/runtime/cgo/gcc_darwin_arm64.c