tools: gst-device-monitor: fix two memory leaks
authorNirbheek Chauhan <nirbheek@centricular.com>
Wed, 28 Oct 2015 18:31:01 +0000 (00:01 +0530)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 28 Oct 2015 18:56:03 +0000 (18:56 +0000)
commit49e71afe7bb397cd9572e0e49a4b36bd6468ff88
tree9f12b19dc949673fa405e9542be4bb5bf8ca0d87
parent2e20f3ba4f36eaf3e652bd0f75ec2db73fea1501
tools: gst-device-monitor: fix two memory leaks

The removed GList link needs to be freed too, and
the G_OPTION_REMAINING arguments need to be freed.
tools/gst-device-monitor.c