changeset 13452:fd606401a8d2

[gaim-migrate @ 15827] Don't dereference a pointer if we've just failed to allocated it Fixes CID 17 committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Tue, 07 Mar 2006 14:10:52 +0000
parents 8355b578a21e
children efd3f93a220f
files src/protocols/silc/ft.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/silc/ft.c	Tue Mar 07 10:33:22 2006 +0000
+++ b/src/protocols/silc/ft.c	Tue Mar 07 14:10:52 2006 +0000
@@ -245,7 +245,7 @@
 
 	xfer = silc_calloc(1, sizeof(*xfer));
 	if (!xfer) {
-		silc_client_file_close(sg->client, sg->conn, xfer->session_id);
+		silc_client_file_close(sg->client, sg->conn, session_id);
 		return;
 	}