main: fix memleak, when reading g_settings
This commit is contained in:

committed by
Martijn Braam

parent
9567f00e01
commit
f64782d9a5
@@ -1422,6 +1422,7 @@ activate(GtkApplication *app, gpointer data)
|
||||
g_settings_set_string(settings, "postprocessor", setting_postproc);
|
||||
printf("Initialized postprocessor to %s\n", setting_postproc);
|
||||
}
|
||||
free(setting_postproc);
|
||||
|
||||
// Find all postprocessors for the settings list
|
||||
mp_process_find_all_processors(setting_postprocessor_list);
|
||||
|
Reference in New Issue
Block a user