aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-12-20 06:10:09 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-12-20 06:10:09 +0000
commit83023f81b011ac5957c7f7077feedba5e22dfb54 (patch)
tree7a314e54fe21ee6986c8deead16def18b48d0bbd /src
parent3e66a3c4823b6996d8b52ddd02d0b2d70fdd2d81 (diff)
summary_set_row(): fixed a memory leak.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@844 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r--src/summaryview.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/summaryview.c b/src/summaryview.c
index 214c735d..f30bc735 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -1956,6 +1956,11 @@ static void summary_set_row(SummaryView *summaryview, GtkTreeIter *iter,
S_COL_FOREGROUND, foreground,
S_COL_BOLD, use_bold,
-1);
+
+ if (subject_s)
+ g_free(subject_s);
+ if (sw_from_s)
+ g_free(sw_from_s);
}
static void summary_insert_gnode(SummaryView *summaryview, GtkTreeStore *store,