src/protocols/gg/gg.c

changeset 14060
e1a87aabd80c
parent 13645
3de3dfcf24fa
child 14065
f1e4ffe89a7c
--- a/src/protocols/gg/gg.c	Thu Jul 27 02:20:33 2006 +0000
+++ b/src/protocols/gg/gg.c	Thu Jul 27 17:37:42 2006 +0000
@@ -1737,6 +1737,11 @@
 			gg_free_session(info->session);
 		}
 
+		/* Immediately close any notifications on this handle since that process depends
+		 * upon the contents of info->searches, which we are about to destroy.
+		 */
+		gaim_notify_close_with_handle(gc);
+
 		ggp_search_destroy(info->searches);
 		g_free(info);
 		gc->proto_data = NULL;

mercurial