summaryrefslogtreecommitdiff
path: root/gst-libs/gst/xwindowlistener/xwindowlistener.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/xwindowlistener/xwindowlistener.c')
-rw-r--r--gst-libs/gst/xwindowlistener/xwindowlistener.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/xwindowlistener/xwindowlistener.c b/gst-libs/gst/xwindowlistener/xwindowlistener.c
index 9963535c..ebbc9ac6 100644
--- a/gst-libs/gst/xwindowlistener/xwindowlistener.c
+++ b/gst-libs/gst/xwindowlistener/xwindowlistener.c
@@ -96,6 +96,7 @@ gst_x_window_listener_dispose (GObject * object)
if (xwin->display_name) {
g_free (xwin->display_name);
+ xwin->display_name = NULL;
}
if (parent_class->dispose) {