diff libpurple/protocols/msn/notification.c @ 20494:82d8797e06f3

Plug memory leaks.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 08 Sep 2007 03:34:49 +0000
parents 64c322c3b1b0
children 7f5564ebde7f
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c	Sat Sep 08 01:33:25 2007 +0000
+++ b/libpurple/protocols/msn/notification.c	Sat Sep 08 03:34:49 2007 +0000
@@ -490,8 +490,8 @@
 							body_enc ? body_enc : "", post ? post : "");
 			g_free(pre);
 			g_free(post);
-			g_free(body_enc);
 		}
+		g_free(body_enc);
 		serv_got_im(gc, passport, body_final, 0, time(NULL));
 	}
 	if(!strcmp(content_type,"text/x-msmsgscontrol")){