diff src/plugin.c @ 13669:3c395481f10c

[gaim-migrate @ 16071] CID 102: Description: Variable "basename" tracked as NULL was passed to a function that dereferences it. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 20 Apr 2006 05:19:12 +0000
parents 8ec038ec9998
children 3cd388613624
line wrap: on
line diff
--- a/src/plugin.c	Thu Apr 20 05:12:22 2006 +0000
+++ b/src/plugin.c	Thu Apr 20 05:19:12 2006 +0000
@@ -1223,7 +1223,7 @@
 
 		/* Strip the extension */
 		if (basename)
-			basename = gaim_plugin_get_basename(basename);
+			basename = gaim_plugin_get_basename(filename);
 
 		if ((plugin = gaim_plugins_find_with_filename(filename)) != NULL)
 		{