[Freeswitch-svn] [commit] r9125 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Mon Jul 21 13:33:46 EDT 2008


Author: anthm
Date: Mon Jul 21 13:33:46 2008
New Revision: 9125

Modified:
   freeswitch/trunk/src/switch_loadable_module.c

Log:
doh

Modified: freeswitch/trunk/src/switch_loadable_module.c
==============================================================================
--- freeswitch/trunk/src/switch_loadable_module.c	(original)
+++ freeswitch/trunk/src/switch_loadable_module.c	Mon Jul 21 13:33:46 2008
@@ -860,6 +860,7 @@
 			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Module is not unloadable.\n");
 			*err = "Module is not unloadable";
 			status = SWITCH_STATUS_NOUNLOAD;
+			goto end;
 		} else {
 			do_shutdown(module);
 		}
@@ -868,6 +869,7 @@
 		*err = "No such module!";
 		status = SWITCH_STATUS_FALSE;
 	}
+ end:
 	switch_mutex_unlock(loadable_modules.mutex);
 
 	return status;



More information about the Freeswitch-svn mailing list