From 4a84fd9355e4ef48ab20606134d93c6db3174b6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 2 Nov 2014 23:24:39 +0000 Subject: [PATCH] inter: don't leak surface name --- gst/inter/gstintersurface.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/inter/gstintersurface.c b/gst/inter/gstintersurface.c index 0b33e1ab2b..abf507d901 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);