[vlc-commits] codec: vt_utils: fix double release in error path
Thomas Guillem
git at videolan.org
Tue Sep 12 11:14:53 CEST 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Sep 12 09:41:20 2017 +0200| [9949d5ff441601b593355cd9855ae4bf2059379a] | committer: Thomas Guillem
codec: vt_utils: fix double release in error path
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9949d5ff441601b593355cd9855ae4bf2059379a
---
modules/codec/vt_utils.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/codec/vt_utils.c b/modules/codec/vt_utils.c
index 02290fba51..5d3310b9c9 100644
--- a/modules/codec/vt_utils.c
+++ b/modules/codec/vt_utils.c
@@ -154,7 +154,6 @@ cvpxpic_create_mapped(const video_format_t *fmt, CVPixelBufferRef cvpx,
if (pic == NULL)
{
CVPixelBufferUnlockBaseAddress(cvpx, lock);
- CFRelease(cvpx);
return NULL;
}
CVPixelBufferRetain(cvpx);
More information about the vlc-commits
mailing list