rem: if (mlc->ma)
add: if (mlc->ma) { atomic_add(&mlc->ma->ref_count, -1);
context: _EXPORT status_t close_module_list(void *cookie){	module_list_cookie * mlc = (module_list_cookie *) cookie;	BDirectory * dir;	ASSERT(mlc);	ASSERT(mlc->prefix);	if (mlc->ma)		unload_module_addon(mlc->ma);	while((dir = (BDirectory *) mlc->dir_stack->FirstItem())) {		mlc->dir_stack->RemoveItem(dir);		delete dir;	};	delete mlc->dir_stack;			free(mlc->search_paths);	free(mlc->prefix);	free(mlc);	return B_ERROR;}