-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
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 I implemented a function to release backend, socket_name, log, config_file, option_modules, these five pointers.
To prevent the backend from being released again, I deleted the following two lines of code.
- free(backend);
- backend = NULL;