pidgin.vv: 3803c845: Silence assertion.

maiku at soc.pidgin.im maiku at soc.pidgin.im
Wed Feb 25 15:50:26 EST 2009


-----------------------------------------------------------------
Revision: 3803c8455ed3452c09ecbff2181d93f25b180fb2
Ancestor: 8d3d7fa4a4e6cd5a356a6bbe7055fd174825b3ce
Author: maiku at soc.pidgin.im
Date: 2009-02-25T07:22:08
Branch: im.pidgin.pidgin.vv
URL: http://d.pidgin.im/viewmtn/revision/info/3803c8455ed3452c09ecbff2181d93f25b180fb2

Modified files:
        libpurple/media.c

ChangeLog: 

Silence assertion.

-------------- next part --------------
============================================================
--- libpurple/media.c	dba3f3bc36e66efd57aae811163b52ff64692f2d
+++ libpurple/media.c	0a5a462b7315be80a1df50aa1a7b3a5c11f0d043
@@ -1080,7 +1080,8 @@ purple_media_get_session_names(PurpleMed
 purple_media_get_session_names(PurpleMedia *media)
 {
 	g_return_val_if_fail(PURPLE_IS_MEDIA(media), NULL);
-	return g_hash_table_get_keys(media->priv->sessions);
+	return media->priv->sessions != NULL ?
+			g_hash_table_get_keys(media->priv->sessions) : NULL;
 }
 
 void 


More information about the Commits mailing list