TT#14008 fix possible use-after-free on shutdown

Reorder the shutdown cleanup calls so that option strings are freed
last, as they may be used by other components during shutdown cleanup

Change-Id: I297f6d0c3dbbb22c4d34d7866844824c8d97e940
mr9.3
Richard Fuchs 5 years ago
parent 3954f323a5
commit 8db2c29427

@ -314,9 +314,7 @@ int main(int argc, char **argv) {
if (decoding_enabled)
codeclib_free();
options_free();
log_free();
cleanup();
log_free();
options_free();
}

Loading…
Cancel
Save