projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d7be9b
)
vpxdec: Set fb->priv to NULL after freeing just in case
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 9 May 2017 09:41:25 +0000
(11:41 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 9 May 2017 14:33:02 +0000
(16:33 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=782359
ext/vpx/gstvpxdec.c
patch
|
blob
|
history
diff --git
a/ext/vpx/gstvpxdec.c
b/ext/vpx/gstvpxdec.c
index
2501c4a
..
92c6377
100644
(file)
--- a/
ext/vpx/gstvpxdec.c
+++ b/
ext/vpx/gstvpxdec.c
@@
-491,6
+491,7
@@
gst_vpx_dec_release_buffer_cb (gpointer priv, vpx_codec_frame_buffer_t * fb)
gst_buffer_unmap (frame->buffer, &frame->info);
gst_buffer_unref (frame->buffer);
g_free (frame);
+ fb->priv = NULL;
return 0;
}