summaryrefslogtreecommitdiff
path: root/sys/applemedia/vtdec.c
diff options
context:
space:
mode:
authorIlya Konstantinov <ilya.konstantinov@gmail.com>2015-06-29 12:40:55 +0300
committerSebastian Dröge <sebastian@centricular.com>2015-07-07 20:18:50 +0300
commitcc3d79f7cc595cb66d9c932d64b1f08334a80e84 (patch)
tree8d4488ff939371b4765201caa1e5becf34270111 /sys/applemedia/vtdec.c
parent153bb7b27344a2ad0ba10c76d2f26ac4600f8331 (diff)
downloadgstreamer-plugins-bad-cc3d79f7cc595cb66d9c932d64b1f08334a80e84.tar.gz
vtdec: fix refcount error in error handling
https://bugzilla.gnome.org/show_bug.cgi?id=751641
Diffstat (limited to 'sys/applemedia/vtdec.c')
-rw-r--r--sys/applemedia/vtdec.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/applemedia/vtdec.c b/sys/applemedia/vtdec.c
index d77c4f130..543f1c499 100644
--- a/sys/applemedia/vtdec.c
+++ b/sys/applemedia/vtdec.c
@@ -606,9 +606,6 @@ sample_error:
GST_ELEMENT_ERROR (vtdec, RESOURCE, FAILED, (NULL),
("CMSampleBufferCreate returned %d", (int) status));
- if (bbuf)
- CFRelease (bbuf);
-
goto out;
}