/pidgin/main: b6865740b29c: Fix tests built on Fedora
Tomasz Wasilczyk
twasilczyk at pidgin.im
Sat May 9 04:01:38 EDT 2015
Changeset: b6865740b29ca71385881eb6462e51010c691501
Author: Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date: 2015-05-09 10:01 +0200
Branch: default
URL: https://hg.pidgin.im/pidgin/main/rev/b6865740b29c
Description:
Fix tests built on Fedora
diffstat:
libpurple/plugins.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff --git a/libpurple/plugins.c b/libpurple/plugins.c
--- a/libpurple/plugins.c
+++ b/libpurple/plugins.c
@@ -992,6 +992,9 @@ purple_plugins_find_plugin(const gchar *
plugin = gplugin_manager_find_plugin(id);
+ if (!plugin)
+ return NULL;
+
/* GPlugin refs the plugin object before returning it. This workaround is
* to avoid managing the reference counts everywhere in our codebase where
* we use plugin instances. A plugin object will exist till the plugins
More information about the Commits
mailing list