clean up qa config dd cleanup

SVN revision: 75879
This commit is contained in:
Mike Blumenkrantz 2012-08-30 12:24:42 +00:00
parent 058635072b
commit 08ada20d6b
3 changed files with 6 additions and 8 deletions

View File

@ -468,11 +468,10 @@ e_qa_config_dd_new(void)
}
void *
e_qa_config_dd_free(E_Config_DD *conf_dd)
e_qa_config_dd_free(void)
{
free(entry_edd);
free(conf_dd);
entry_edd = conf_edd = NULL;
E_FREE(entry_edd);
E_FREE(conf_edd);
return NULL;
}

View File

@ -71,13 +71,12 @@ e_modapi_shutdown(E_Module *m __UNUSED__)
{
e_qa_shutdown();
conf_edd = e_qa_config_dd_free(conf_edd);
conf_edd = e_qa_config_dd_free();
eina_log_domain_unregister(_e_quick_access_log_dom);
_e_quick_access_log_dom = -1;
e_qa_config_free(qa_config);
free(qa_mod);
E_FREE(qa_mod);
qa_config = NULL;
qa_mod = NULL;
return 1;
}

View File

@ -81,7 +81,7 @@ Eina_Bool e_qa_entry_rename(E_Quick_Access_Entry *entry, const char *name);
E_Config_DD *e_qa_config_dd_new(void);
void e_qa_config_free(Config *conf);
Config *e_qa_config_new(void);
void *e_qa_config_dd_free(E_Config_DD *conf_dd);
void *e_qa_config_dd_free(void);
void e_qa_config_entry_free(E_Quick_Access_Entry *entry);
void e_qa_config_entry_add(E_Quick_Access_Entry *entry);
void e_qa_config_entry_transient_convert(E_Quick_Access_Entry *entry);