tools: gst-device-monitor: fix props leak

CID 1311942
This commit is contained in:
Tim-Philipp Müller 2015-07-16 10:54:29 +01:00
parent eddf604e66
commit e2d8eabb3d

View file

@ -81,6 +81,7 @@ device_added (GstDevice * device)
if (props) {
g_print ("\tproperties:");
gst_structure_foreach (props, print_structure_field, NULL);
gst_structure_free (props);
g_print ("\n");
}
g_print ("\n");