validate: media-descriptor: fix filenode->caps leak

This commit is contained in:
Guillaume Desmottes 2015-03-30 16:46:12 +02:00 committed by Thibault Saunier
parent 15918f1e40
commit 37d0ea4335

View file

@ -95,6 +95,9 @@ free_filenode (FileNode * filenode)
if (filenode->uri)
g_free (filenode->uri);
if (filenode->caps)
gst_caps_unref (filenode->caps);
g_free (filenode->str_open);
g_free (filenode->str_close);