mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
tools: gst-device-monitor: fix props leak
CID 1311942
This commit is contained in:
parent
eddf604e66
commit
e2d8eabb3d
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ device_added (GstDevice * device)
|
||||||
if (props) {
|
if (props) {
|
||||||
g_print ("\tproperties:");
|
g_print ("\tproperties:");
|
||||||
gst_structure_foreach (props, print_structure_field, NULL);
|
gst_structure_foreach (props, print_structure_field, NULL);
|
||||||
|
gst_structure_free (props);
|
||||||
g_print ("\n");
|
g_print ("\n");
|
||||||
}
|
}
|
||||||
g_print ("\n");
|
g_print ("\n");
|
||||||
|
|
Loading…
Reference in a new issue