summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2015-07-16 10:54:29 +0100
committerTim-Philipp Müller <tim@centricular.com>2015-07-16 10:54:29 +0100
commite2d8eabb3d8d9f2ef538b3673aa2183d0a2a38d0 (patch)
tree4118583014a27c4bdb0d9864642467f61618f29b /tools
parenteddf604e66f46f1d9fc5ee5466d84cc0e491a6bf (diff)
tools: gst-device-monitor: fix props leak
CID 1311942
Diffstat (limited to 'tools')
-rw-r--r--tools/gst-device-monitor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gst-device-monitor.c b/tools/gst-device-monitor.c
index 8fe6f8032..c4a1d5ea0 100644
--- a/tools/gst-device-monitor.c
+++ b/tools/gst-device-monitor.c
@@ -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");