[asterisk-commits] dlee: branch dlee/ASTERISK-22296 r397665 - /team/dlee/ASTERISK-22296/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Aug 26 14:06:20 CDT 2013


Author: dlee
Date: Mon Aug 26 14:06:18 2013
New Revision: 397665

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=397665
Log:
Debug dlopen()/dlclose()

Modified:
    team/dlee/ASTERISK-22296/main/loader.c

Modified: team/dlee/ASTERISK-22296/main/loader.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ASTERISK-22296/main/loader.c?view=diff&rev=397665&r1=397664&r2=397665
==============================================================================
--- team/dlee/ASTERISK-22296/main/loader.c (original)
+++ team/dlee/ASTERISK-22296/main/loader.c Mon Aug 26 14:06:18 2013
@@ -185,6 +185,8 @@
 		mod = resource_being_loaded;
 	}
 
+	ast_verb(5, "Registering module %s\n", info->name);
+
 	mod->info = info;
 	AST_LIST_HEAD_INIT(&mod->users);
 
@@ -230,6 +232,7 @@
 	AST_LIST_UNLOCK(&module_list);
 
 	if (mod) {
+		ast_verb(5, "Unregistering module %s\n", info->name);
 		AST_LIST_HEAD_DESTROY(&mod->users);
 		ast_free(mod);
 	}




More information about the asterisk-commits mailing list