ipcpipeline: Don't leak structure

CID #1416131
This commit is contained in:
Edward Hervey 2017-11-23 08:09:36 +01:00 committed by Edward Hervey
parent 39cd2bf8fe
commit 5706178d54

View file

@ -706,6 +706,8 @@ gst_ipc_pipeline_comm_read_buffer (GstIpcPipelineComm * comm, guint32 size)
} else {
GST_WARNING_OBJECT (comm->element, "Unsupported meta: %s",
g_type_name (api));
if (structure)
gst_structure_free (structure);
}
#undef READ_FIELD