inter: don't leak surface name

This commit is contained in:
Tim-Philipp Müller 2014-11-02 23:24:39 +00:00
parent 074d6347d1
commit 4a84fd9355

View file

@ -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);