aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ChangeLog.ja4
-rw-r--r--src/compose.c3
3 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a3e9fd8f..8aa33a33 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2008-04-08
+ * src/compose.c: compose_check_recipients(): fixed leaks of GSList.
+
+2008-04-08
+
* libsylph/prefs_common.[ch]
src/compose.c
src/prefs_common_dialog.c: added the option to confirm recipients
diff --git a/ChangeLog.ja b/ChangeLog.ja
index d79750de..c53a6aa7 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,5 +1,9 @@
2008-04-08
+ * src/compose.c: compose_check_recipients(): GSList のリークを修正。
+
+2008-04-08
+
* libsylph/prefs_common.[ch]
src/compose.c
src/prefs_common_dialog.c: 送信前に宛先を確認するオプションを追加。
diff --git a/src/compose.c b/src/compose.c
index 58657800..af0e73d5 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -3087,6 +3087,7 @@ static gboolean compose_check_recipients(Compose *compose)
(gchar *)cur->data, -1);
}
slist_free_strings(to_list);
+ g_slist_free(to_list);
}
}
if (compose->use_cc) {
@@ -3103,6 +3104,7 @@ static gboolean compose_check_recipients(Compose *compose)
(gchar *)cur->data, -1);
}
slist_free_strings(to_list);
+ g_slist_free(to_list);
}
}
if (compose->use_bcc) {
@@ -3119,6 +3121,7 @@ static gboolean compose_check_recipients(Compose *compose)
(gchar *)cur->data, -1);
}
slist_free_strings(to_list);
+ g_slist_free(to_list);
}
}