Fix potential memory leak in agl-compositor 27/27227/3
authorduerpei <duep.fnst@fujitsu.com>
Tue, 15 Mar 2022 02:26:03 +0000 (10:26 +0800)
committerduerpei <duep.fnst@fujitsu.com>
Tue, 15 Mar 2022 02:26:03 +0000 (10:26 +0800)
wet_main->parse_options-> .... ->strdup ->malloc
    "config_file" memory is not released
    "log"memory is not released

When agl-compositor startup parameters contain socket and modules,
the memory of socket_name and option_modules also needs to be released.
So these two pointers are also released.

Bug-AGL: SPEC-4270

Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: I0d74b92187a0779610f32e75b33ab4fca10329a5


No differences found