gstreamer/tools
Eero Nurkkala 083f73a01f gst-inspect: fix memory leak
With meson configure option: -Db_sanitize=address, the following
issue is seen while running the test "tools_gstinspect":

Running suite(s): gst-inspect

=================================================================
==20880==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 51 byte(s) in 9 object(s) allocated from:
    #0 0x7ffb4dbb0b40 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb40)
    #1 0x7ffb4cdf1ab8 in g_malloc (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x51ab8)

SUMMARY: AddressSanitizer: 51 byte(s) leaked in 9 allocation(s).
0%: Checks: 1, Failures: 0, Errors: 1

GOptionEntry man page states that: "Please note that parsed arguments need to be freed separately (see GOptionEntry)."
Thus, free the 'min_version' string that has been allocated but never freed.

Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/572>
2020-07-22 08:09:44 +00:00
..
gst-indent gst-indent: Add support for gindent as executable name 2015-06-03 18:09:24 +02:00
gst-inspect-1.0.1 tools: gst-inspect, add option '--color' with short option '-C' 2020-06-20 08:45:01 +00:00
gst-inspect.c gst-inspect: fix memory leak 2020-07-22 08:09:44 +00:00
gst-launch-1.0.1 parse: add support for presets 2019-12-28 04:02:16 +00:00
gst-launch.c gst-launch: go back down to GST_STATE_NULL in one step. 2020-04-01 15:41:49 +02:00
gst-stats-1.0.1 Add very simple man page for gst-stats. 2017-04-21 10:55:55 -03:00
gst-stats.c tools: gst-stats: parse thread-id in windows debug logs properly 2020-05-01 21:12:31 +00:00
gst-typefind-1.0.1 tools: ship the final man pages directly, no more man pages templates 2016-11-23 09:09:05 +00:00
gst-typefind.c gstreamer: Fix memory leaks when context parse fails 2015-10-02 17:31:11 +03:00
meson.build meson: add option to disable parse-launch pipeline string parser 2018-08-10 00:08:43 +01:00
tools.h Port to hotdoc 2019-05-13 16:34:09 -04:00