aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/nogaim.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2008-12-14 10:31:49 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2008-12-14 10:31:49 +0000
commitc0c43fba49da3d14097f2c7cf3569a829b84125a (patch)
tree06414233d0b5fdd20482a77ca89952b846b37a32 /protocols/nogaim.c
parent939370c674071a198e3115f9fa511fa51e8bea9e (diff)
Fixed ic->away leaking memory. This var is only used by OSCAR and should
maybe be killed. Also fixed some completely broken indentation in those functions.
Diffstat (limited to 'protocols/nogaim.c')
-rw-r--r--protocols/nogaim.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/nogaim.c b/protocols/nogaim.c
index bec80c25..fd445324 100644
--- a/protocols/nogaim.c
+++ b/protocols/nogaim.c
@@ -320,6 +320,9 @@ void imc_logout( struct im_connection *ic, int allow_reconnect )
ic->acc->prpl->logout( ic );
b_event_remove( ic->inpa );
+ g_free( ic->away );
+ ic->away = NULL;
+
u = irc->users;
while( u )
{