pidgin.vv: fc1121ec: Don't crash if media can't be found.
maiku at soc.pidgin.im
maiku at soc.pidgin.im
Thu Feb 5 20:20:35 EST 2009
-----------------------------------------------------------------
Revision: fc1121ecf99521d7afa69feb3d9edfe35d38a01e
Ancestor: 1469f598d3d2613468952250ff40e016e9d44682
Author: maiku at soc.pidgin.im
Date: 2009-02-05T22:06:09
Branch: im.pidgin.pidgin.vv
URL: http://d.pidgin.im/viewmtn/revision/info/fc1121ecf99521d7afa69feb3d9edfe35d38a01e
Modified files:
libpurple/media.c
ChangeLog:
Don't crash if media can't be found.
-------------- next part --------------
============================================================
--- libpurple/media.c d12428ef9d9ceab24e440c81e192df2e1a43f8c0
+++ libpurple/media.c a2e4be2d48e613a8e37757f12a658d8707539d2e
@@ -1214,6 +1214,9 @@ media_bus_call(GstBus *bus, GstMessage *
break;
}
}
+
+ if (!PURPLE_IS_MEDIA(media))
+ break;
}
if (gst_structure_has_name(msg->structure, "farsight-error")) {
More information about the Commits
mailing list