diff src/conversation.c @ 7606:08c9d0dcf906

[gaim-migrate @ 8229] " Some things allocated with g_malloc() were being free()'d instead of g_free()'d This patch fixes the ones I managed to find." --Stu Tomlinson (nosnilmot) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sun, 23 Nov 2003 15:32:25 +0000
parents df5b0937ea47
children 5381f96fc185
line wrap: on
line diff
--- a/src/conversation.c	Sun Nov 23 15:25:04 2003 +0000
+++ b/src/conversation.c	Sun Nov 23 15:32:25 2003 +0000
@@ -1795,8 +1795,8 @@
 {
 	g_return_if_fail(chat != NULL);
 
-	if (chat->who   != NULL) free(chat->who);
-	if (chat->topic != NULL) free(chat->topic);
+	if (chat->who   != NULL) g_free(chat->who);
+	if (chat->topic != NULL) g_free(chat->topic);
 
 	chat->who   = (who   == NULL ? NULL : g_strdup(who));
 	chat->topic = (topic == NULL ? NULL : g_strdup(topic));