summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con/ecore_con_dns.c
diff options
context:
space:
mode:
authordiscomfitor <michael.blumenkrantz@gmail.com>2013-12-20 22:16:59 -0500
committerdiscomfitor <michael.blumenkrantz@gmail.com>2013-12-20 22:16:59 -0500
commitdd666a6ffdf8df737c1a5d56726581add464c05c (patch)
tree88fb76b57dbbd8761cbd8de0ed8c499b3520b17f /src/lib/ecore_con/ecore_con_dns.c
parent2a143393f96aefc4469d8c2c33fb94974be676b5 (diff)
bugfix: free the entire ecore_con dns struct on info clear to prevent crashes later on
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_con/ecore_con_dns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_con/ecore_con_dns.c b/src/lib/ecore_con/ecore_con_dns.c
index 0ed0536f27..986c3a49ac 100644
--- a/src/lib/ecore_con/ecore_con_dns.c
+++ b/src/lib/ecore_con/ecore_con_dns.c
@@ -180,8 +180,8 @@ ecore_con_info_shutdown(void)
180void 180void
181ecore_con_info_data_clear(void *info) 181ecore_con_info_data_clear(void *info)
182{ 182{
183 Ecore_Con_DNS *dns = info; 183 if (info)
184 if (dns) dns->data = NULL; 184 _ecore_con_dns_free(info);
185} 185}
186 186
187int 187int