changeset 13566:8ec038ec9998

[gaim-migrate @ 15945] Fix CID 99. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Sat, 25 Mar 2006 23:34:53 +0000
parents 7432bea7f7e6
children 724119af64f3
files src/plugin.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugin.c	Sat Mar 25 20:21:21 2006 +0000
+++ b/src/plugin.c	Sat Mar 25 23:34:53 2006 +0000
@@ -1222,7 +1222,8 @@
 			basename++;
 
 		/* Strip the extension */
-		basename = gaim_plugin_get_basename(basename);
+		if (basename)
+			basename = gaim_plugin_get_basename(basename);
 
 		if ((plugin = gaim_plugins_find_with_filename(filename)) != NULL)
 		{