diff options
author | Michael Pavone <pavone@retrodev.com> | 2018-06-28 09:27:05 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2018-06-28 09:27:05 -0700 |
commit | 5f1a3e5c10bd84d5049b1a8a56c5aace468761cb (patch) | |
tree | 324045c83ac9f6d1475be867ee7b0dba642290c9 /blastem.c | |
parent | e1d177b8429e4eb59f5a6e853009dbf97ab95068 (diff) |
Fix a number of other memory errors (mostly leaks again) identified by valgrind
Diffstat (limited to 'blastem.c')
-rw-r--r-- | blastem.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -389,6 +389,7 @@ void init_system_with_media(const char *path, system_type force_stype) game_system->next_context = menu_system; setup_saves(&cart, &info, game_system); update_title(info.name); + free(info.name); } int main(int argc, char ** argv) @@ -620,6 +621,7 @@ int main(int argc, char ** argv) setup_saves(&cart, &info, current_system); update_title(info.name); + free(info.name); if (menu) { menu_system = current_system; } else { |