projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix two memory leaks around use of privacy_get_system_ids().
[claws.git]
/
src
/
prefs_account.c
diff --git
a/src/prefs_account.c
b/src/prefs_account.c
index 513ba6bfa102c2e216ddd343b5dbb72c7e9a41dc..99343219e2bd0597d53f7e69869a5e052b2fcecd 100644
(file)
--- a/
src/prefs_account.c
+++ b/
src/prefs_account.c
@@
-962,7
+962,10
@@
static void update_privacy_system_menu() {
COMBOBOX_SENS, TRUE,
COMBOBOX_PRIVACY_PLUGIN_ID, id,
-1);
COMBOBOX_SENS, TRUE,
COMBOBOX_PRIVACY_PLUGIN_ID, id,
-1);
+ g_free(id);
}
}
+ g_slist_free(system_ids);
+
}
#define TABLE_YPAD 2
}
#define TABLE_YPAD 2