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 2a143393f9
commit dd666a6ffd
1 changed files with 2 additions and 2 deletions

View File

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