aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2003-02-17 17:00:06 +0800
committerChris Toshok <toshok@src.gnome.org>2003-02-17 17:00:06 +0800
commit3d2724cc41df1e2862f3296e28fa6c5fb10652e4 (patch)
tree098b2d2a7156072eefc2867af4dc707094d6c144
parentd239d2b1120ff6b95e71c36200ad73c53473f00a (diff)
downloadgsoc2013-evolution-3d2724cc41df1e2862f3296e28fa6c5fb10652e4.tar.gz
gsoc2013-evolution-3d2724cc41df1e2862f3296e28fa6c5fb10652e4.tar.zst
gsoc2013-evolution-3d2724cc41df1e2862f3296e28fa6c5fb10652e4.zip
plug memory leak (always free val).
2003-02-17 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (ensure_completion_uris_exist): plug memory leak (always free val). svn path=/trunk/; revision=19921
-rw-r--r--addressbook/gui/component/addressbook-component.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index 8d8de1fb41..476ce73101 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -618,9 +618,9 @@ ensure_completion_uris_exist()
g_free (dirname);
g_free (uri);
e_config_listener_set_string (db, "/apps/evolution/addressbook/completion/uris", val);
-
- g_free (val);
}
+
+ g_free (val);
}