changeset 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 5c8565315d3e
children a373da801dc1
files src/plugin.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)
 		{