summaryrefslogtreecommitdiff
path: root/gst/inter
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2014-11-02 23:24:39 +0000
committerTim-Philipp Müller <tim@centricular.com>2014-11-02 23:24:39 +0000
commit4a84fd9355e4ef48ab20606134d93c6db3174b6f (patch)
tree383a584ee52d7a53044e7a36ce7ebe2e9fb99d4b /gst/inter
parent074d6347d120f2fbd11436dcdbb840c4c8935396 (diff)
inter: don't leak surface name
Diffstat (limited to 'gst/inter')
-rw-r--r--gst/inter/gstintersurface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/inter/gstintersurface.c b/gst/inter/gstintersurface.c
index 0b33e1ab2..abf507d90 100644
--- a/gst/inter/gstintersurface.c
+++ b/gst/inter/gstintersurface.c
@@ -78,6 +78,7 @@ gst_inter_surface_unref (GstInterSurface * surface)
gst_buffer_replace (&surface->video_buffer, NULL);
gst_buffer_replace (&surface->sub_buffer, NULL);
gst_object_unref (surface->audio_adapter);
+ g_free (surface->name);
g_free (surface);
}
g_mutex_unlock (&mutex);