From e2d8eabb3d8d9f2ef538b3673aa2183d0a2a38d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 16 Jul 2015 10:54:29 +0100 Subject: [PATCH] tools: gst-device-monitor: fix props leak CID 1311942 --- tools/gst-device-monitor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/gst-device-monitor.c b/tools/gst-device-monitor.c index 8fe6f80321..c4a1d5ea05 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");