Fix two memory leaks around use of privacy_get_system_ids().
[claws.git] / src / prefs_account.c
index 513ba6bfa102c2e216ddd343b5dbb72c7e9a41dc..99343219e2bd0597d53f7e69869a5e052b2fcecd 100644 (file)
@@ -962,7 +962,10 @@ static void update_privacy_system_menu() {
                                COMBOBOX_SENS, TRUE,
                                COMBOBOX_PRIVACY_PLUGIN_ID, id,
                                -1);
+               g_free(id);
        }
+       g_slist_free(system_ids);
+
 }
 
 #define TABLE_YPAD 2