changeset 4574:57e939c91f72

[gaim-migrate @ 4855] Er, that's what I meant. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 11 Feb 2003 20:10:03 +0000
parents 82a4a5cd9a61
children 1b52e29f1ffb
files src/conversation.c
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Tue Feb 11 19:15:29 2003 +0000
+++ b/src/conversation.c	Tue Feb 11 20:10:03 2003 +0000
@@ -982,12 +982,14 @@
 	conversations = g_list_remove(conversations, conv);
 
 	if (conv->type == GAIM_CONV_IM) {
+		GSList *snode;
+
 		gaim_im_stop_typing_timeout(conv->u.im);
 		gaim_im_stop_type_again_timeout(conv->u.im);
 
-		for (node = conv->u.im->images; node != NULL; node = node->next) {
-			if (node->data != NULL)
-				g_free(node->data);
+		for (snode = conv->u.im->images; snode != NULL; snode = snode->next) {
+			if (snode->data != NULL)
+				g_free(snode->data);
 		}
 
 		g_slist_free(conv->u.im->images);