aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2008-04-08 09:12:15 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2008-04-08 09:12:15 +0000
commit520c0a9f8a3fc4c27da5a30a416f414e75c57271 (patch)
tree716a37ed1a4fb1a43b1740c96d15d150aa44b139
parent5c7916a38a871b3c73762ea776c9f94ed7695d82 (diff)
fixed leaks of GSList.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1972 ee746299-78ed-0310-b773-934348b2243d
-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);
}
}