changeset 102:8c301530b2a3

[gaim-migrate @ 112] Whoops, forgot something. If an evil plugin leaves the outgoing message NULL, NULL should not be displayed. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 09 Apr 2000 23:06:23 +0000
parents a9aa982272f9
children c5a1a1b05c26
files src/conversation.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Sun Apr 09 23:03:44 2000 +0000
+++ b/src/conversation.c	Sun Apr 09 23:06:23 2000 +0000
@@ -386,6 +386,10 @@
 			}
 			ca = ca->next;
 		}
+		if (buf == NULL) {
+			g_free(buf2);
+			return;
+		}
 	}
 #endif