projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c40212f
)
xvimagesink: fix small memory leak when setting window title
author
René Stadler
<mail@renestadler.de>
Sat, 5 Sep 2009 22:42:42 +0000
(
01:42
+0300)
committer
René Stadler
<mail@renestadler.de>
Sat, 5 Sep 2009 22:44:23 +0000
(
01:44
+0300)
sys/xvimage/xvimagesink.c
patch
|
blob
|
history
diff --git
a/sys/xvimage/xvimagesink.c
b/sys/xvimage/xvimagesink.c
index 2750eedc6a072f01eb120bb12a1fb5cb39cc098a..456371e789bd355d4d03fdf6b7dcdaf7a825175d 100644
(file)
--- a/
sys/xvimage/xvimagesink.c
+++ b/
sys/xvimage/xvimagesink.c
@@
-937,8
+937,10
@@
gst_xvimagesink_xwindow_set_title (GstXvImageSink * xvimagesink,
if (title) {
if ((XStringListToTextProperty (((char **) &title), 1,
- &xproperty)) != 0)
+ &xproperty)) != 0)
{
XSetWMName (xvimagesink->xcontext->disp, xwindow->win, &xproperty);
+ XFree (xproperty.value);
+ }
g_free (title_mem);
}