/srv/mercurial-server/detachablepurple: 16216ef8f9fb: Supplement...

Gilles Bedel gillux at cpw.pidgin.im
Fri Jun 15 22:01:51 EDT 2012


Changeset: 16216ef8f9fbae78c35713cd48d352d6cc36d7ac
Author:	 Gilles Bedel <gillux at cpw.pidgin.im>
Date:	 2012-05-25 19:36 +0000
Branch:	 cpw.gillux.detachablepurple
URL: http://hg.pidgin.im/srv/mercurial-server/detachablepurple/rev/16216ef8f9fb

Description:

Supplementary check against dumb callers.

diffstat:

 libpurple/pobject.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff --git a/libpurple/pobject.c b/libpurple/pobject.c
--- a/libpurple/pobject.c
+++ b/libpurple/pobject.c
@@ -1108,6 +1108,7 @@
 		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