aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-08-08 17:44:16 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-08-08 17:44:16 +0800
commit2dbc89d3fce53a9095e42b9811ad1e42a928862b (patch)
tree136247d610e66d713cf054315de9cc3ef33d11b0 /mail/mail-config.c
parent119cea086db2bc273870d7bbf33ebecbdcb9e818 (diff)
downloadgsoc2013-evolution-2dbc89d3fce53a9095e42b9811ad1e42a928862b.tar.gz
gsoc2013-evolution-2dbc89d3fce53a9095e42b9811ad1e42a928862b.tar.zst
gsoc2013-evolution-2dbc89d3fce53a9095e42b9811ad1e42a928862b.zip
Free the dbkey if we found the config option.
2001-08-07 Not Zed <NotZed@Ximian.com> * mail-config.c (mail_config_get_thread_list): Free the dbkey if we found the config option. * mail-send-recv.c (build_dialogue): Free the pretty_url after we've used it. (free_send_info): Free the 'what' string. (receive_done): Use free_send_info to make sure we free everything. * mail-ops.c (send_queue_free): Unref the filter driver when done. (send_queue_send): Unref the driver here too, force any long taking operations to run in our thread. svn path=/trunk/; revision=11777
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 40d0fc8cbc..7002a20584 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -973,8 +973,10 @@ mail_config_get_thread_list (const char *uri)
GINT_TO_POINTER (value));
return value;
- } else
+ } else {
+ g_free(dbkey);
return GPOINTER_TO_INT (val);
+ }
}
/* return the default value */