diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-24 18:37:23 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-24 18:37:23 +0800 |
commit | 1cd5827a7e47c76834ed22ab4548a564623d3245 (patch) | |
tree | 112d2ac7c014095c3e7fcbc10b0001db8fc85a49 /libempathy | |
parent | f421f61bb5e2ef7e8067b5874e0230961be389d5 (diff) | |
download | gsoc2013-empathy-1cd5827a7e47c76834ed22ab4548a564623d3245.tar gsoc2013-empathy-1cd5827a7e47c76834ed22ab4548a564623d3245.tar.gz gsoc2013-empathy-1cd5827a7e47c76834ed22ab4548a564623d3245.tar.bz2 gsoc2013-empathy-1cd5827a7e47c76834ed22ab4548a564623d3245.tar.lz gsoc2013-empathy-1cd5827a7e47c76834ed22ab4548a564623d3245.tar.xz gsoc2013-empathy-1cd5827a7e47c76834ed22ab4548a564623d3245.tar.zst gsoc2013-empathy-1cd5827a7e47c76834ed22ab4548a564623d3245.zip |
Free the allocated dirname after usage
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-log-store-empathy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy/empathy-log-store-empathy.c b/libempathy/empathy-log-store-empathy.c index 8b228794f..9963bfc44 100644 --- a/libempathy/empathy-log-store-empathy.c +++ b/libempathy/empathy-log-store-empathy.c @@ -419,6 +419,7 @@ log_store_empathy_search_hit_new (EmpathyLogStore *self, { EmpathyAccount *account = EMPATHY_ACCOUNT (l->data); gchar *name; + name = log_store_account_to_dirname (account); if (!tp_strdiff (name, account_name)) { @@ -427,6 +428,7 @@ log_store_empathy_search_hit_new (EmpathyLogStore *self, g_object_ref (account); } g_object_unref (account); + g_free (name); } g_list_free (accounts); |