diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2023-11-01 21:36:50 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2023-11-01 21:36:50 (GMT) |
commit | ce33112cf8c913635402cb8b6d127f9ac9f2b6b5 (patch) | |
tree | 731eaf0f50df1cc8033decbfce879b51ce5757e9 /src/rost.c | |
parent | 4eebf4a8752464691053fa3706ea6be9413676fa (diff) |
Fix various memory leaks.
Diffstat (limited to 'src/rost.c')
-rw-r--r-- | src/rost.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -459,16 +459,18 @@ int main(int argc, char **argv) /* Sortie */ - unload_all_core_components(false); - #ifdef TRACK_GOBJECT_LEAKS remember_gtypes_for_leaks(); #endif + unload_all_core_components(true); + #ifdef TRACK_GOBJECT_LEAKS dump_remaining_gtypes(); #endif + exit_all_plugins(); + done: return result; |