Index: lib/libqof/qof/qofsession.c
===================================================================
--- lib/libqof/qof/qofsession.c	(revision 17236)
+++ lib/libqof/qof/qofsession.c	(working copy)
@@ -1211,7 +1211,8 @@
 	QofBook *book, *abook;
 	int err;
 	gint num;
-	char *msg, *book_id;
+	char *msg=NULL;
+	char *book_id;
 
 	if (!session) return;
 	if (!g_atomic_int_dec_and_test(&session->lock))
