cpw.gillux.detachablepurple: 701a370e: Supplementary check against dumb callers...

gillux at soc.pidgin.im gillux at soc.pidgin.im
Fri May 25 15:47:05 EDT 2012


----------------------------------------------------------------------
Revision: 701a370e7379a88370edda7d9740779e0b708ba5
Parent:   e2377f2713173f467e7aeab09c0760d14e8970a9
Author:   gillux at soc.pidgin.im
Date:     05/25/12 15:36:42
Branch:   im.pidgin.cpw.gillux.detachablepurple
URL: http://d.pidgin.im/viewmtn/revision/info/701a370e7379a88370edda7d9740779e0b708ba5

Changelog: 

Supplementary check against dumb callers.

Changes against parent e2377f2713173f467e7aeab09c0760d14e8970a9

  patched  libpurple/pobject.c

-------------- next part --------------
============================================================
--- libpurple/pobject.c	07daa8fc518bfa4cf03705d97f95eb07e5f754d6
+++ libpurple/pobject.c	fbe3bd060ff0db82d0a24b604ff9f9705df4b192
@@ -1108,6 +1108,7 @@ purple_object_dbus_call(PurpleObject *po
 		return NULL;
 
 	iface = find_interface_info_by_name(pobj, interface_name);
+	g_return_val_if_fail(iface != NULL, NULL);
 	method_info = g_dbus_interface_info_lookup_method(iface, method_name);
 	g_return_val_if_fail(method_info != NULL, NULL);
 


More information about the Commits mailing list