diff options
author | duerpei <duep.fnst@fujitsu.com> | 2022-03-15 10:26:03 +0800 |
---|---|---|
committer | duerpei <duep.fnst@fujitsu.com> | 2022-03-15 10:26:03 +0800 |
commit | 70d8d26d8ed27f25689bf75bdb3da320d418c38a (patch) | |
tree | 18fe490de15f4e805cb2df5427cb601f1e8963bc /shared/file-util.c | |
parent | cec4cf8fe409cae5618e81e4a3b6dd11cc8b2aa9 (diff) |
Fix potential memory leak in agl-compositor
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
Diffstat (limited to 'shared/file-util.c')
0 files changed, 0 insertions, 0 deletions