bugfix: free the entire ecore_con dns struct on info clear to prevent crashes later on

This commit is contained in:
discomfitor 2013-12-20 22:16:59 -05:00
parent 0c34c3d940
commit 8ada315d89
1 changed files with 2 additions and 2 deletions

View File

@ -178,8 +178,8 @@ ecore_con_info_shutdown(void)
void void
ecore_con_info_data_clear(void *info) ecore_con_info_data_clear(void *info)
{ {
Ecore_Con_DNS *dns = info; if (info)
if (dns) dns->data = NULL; _ecore_con_dns_free(info);
} }
int int