qtmux: Free node_header in error cases

CID #1212134
This commit is contained in:
Edward Hervey 2014-05-12 16:53:32 +02:00
parent 6c4882996f
commit 112d948b7e

View file

@ -1414,6 +1414,7 @@ serialize_error:
{ {
GST_ELEMENT_ERROR (qtmux, STREAM, MUX, (NULL), GST_ELEMENT_ERROR (qtmux, STREAM, MUX, (NULL),
("Failed to serialize mdat")); ("Failed to serialize mdat"));
g_free (node_header);
return GST_FLOW_ERROR; return GST_FLOW_ERROR;
} }
} }