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:
dd0c56b
)
vdpsink: fix Memory leak due to Xlib API usage
author
Gaurav Gupta
<g.gupta@samsung.com>
Fri, 4 Nov 2016 06:26:13 +0000
(11:56 +0530)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 5 Nov 2016 11:40:02 +0000
(11:40 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=773932
sys/vdpau/gstvdpsink.c
patch
|
blob
|
history
diff --git
a/sys/vdpau/gstvdpsink.c
b/sys/vdpau/gstvdpsink.c
index
69b9b00
..
948751a
100644
(file)
--- a/
sys/vdpau/gstvdpsink.c
+++ b/
sys/vdpau/gstvdpsink.c
@@
-155,8
+155,10
@@
gst_vdp_sink_window_set_title (VdpSink * vdp_sink,
if (title) {
if ((XStringListToTextProperty (((char **) &title), 1,
- &xproperty)) != 0)
+ &xproperty)) != 0)
{
XSetWMName (vdp_sink->device->display, window->win, &xproperty);
+ XFree (xproperty.value);
+ }
g_free (title_mem);
}