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:
b03361a
)
docs: fix memory leak of appsink example in manual
author
Erik Andresen
<erik@vontaene.de>
Thu, 26 Dec 2013 10:39:27 +0000
(11:39 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Thu, 26 Dec 2013 11:21:29 +0000
(11:21 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=721076
docs/manual/advanced-dataaccess.xml
patch
|
blob
|
history
diff --git
a/docs/manual/advanced-dataaccess.xml
b/docs/manual/advanced-dataaccess.xml
index
7661191
..
82718d0
100644
(file)
--- a/
docs/manual/advanced-dataaccess.xml
+++ b/
docs/manual/advanced-dataaccess.xml
@@
-1006,6
+1006,7
@@
main (int argc, char *argv[])
gdk_pixbuf_save (pixbuf, "snapshot.png", "png", &error, NULL);
#endif
gst_buffer_unmap (buffer, &map);
+ gst_sample_unref (sample);
} else {
g_print ("could not make snapshot\n");
}