diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2009-12-24 11:28:14 -0500 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2010-02-18 14:35:55 -0500 |
commit | a9a6f53a6b73f44ed1ca769e2a1005df08f48dea (patch) | |
tree | f2f50c6da75fd0adc492968aeb09ec7b770713ea /src | |
parent | 085cf5e6907bf150a3d68d036a1d58889f963272 (diff) | |
download | telepathy-gabble-a9a6f53a6b73f44ed1ca769e2a1005df08f48dea.tar.gz |
Mail Notification: Fix memory leak on subcribe while already subscribed
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/conn-mail-notif.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conn-mail-notif.c b/src/conn-mail-notif.c index e6245c789..fa06941f3 100644 --- a/src/conn-mail-notif.c +++ b/src/conn-mail-notif.c @@ -125,6 +125,7 @@ gabble_mail_notification_subscribe (GabbleSvcConnectionInterfaceMailNotification if (g_hash_table_lookup_extended (conn->mail_subscribers, sender, NULL, NULL)) { DEBUG ("Sender '%s' is already subscribed!", sender); + g_free (sender); goto done; } |