add: if (config_filename) shm_free(config_filename);
context: AAAReturnCode AAAClose(){	if (!is_lib_init) {		fprintf(stderr,"ERROR:AAAClose: AAA library is not initialized\n");		return AAA_ERR_NOT_INITIALIZED;	}	is_lib_init = 0;	/* close all open connections */	/* stop the timer */	destroy_timer();	/* stop the socket layer (kill all threads) */	terminate_tcp_shell();	/* stop the peer manager */	destroy_peer_manager();	/* stop the message manager */	destroy_msg_manager();	/* stop session manager */	shutdown_session_manager();	/* stop the transaction manager */	destroy_trans_manager();	/* destroy the shared mutexes */	destroy_shared_mutexes();	/* destroy the hash_table */	destroy_htable( hash_table );	/* just for debuging */	shm_status();	return AAA_ERR_SUCCESS;}