raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d8b6271fdcda0ae0790ccfee09e9c19b72314f65

commit d8b6271fdcda0ae0790ccfee09e9c19b72314f65
Author: Amitesh Singh <amitesh...@samsung.com>
Date:   Tue Dec 16 19:55:12 2014 +0900

    ecore_con: Added NULL check in dns_so_reset() for dns_socket object.
    
    Summary: @fix
    
    Reviewers: zmike, tasn, seoz, raster
    
    Subscribers: cedric, seoz
    
    Differential Revision: https://phab.enlightenment.org/D1411
---
 src/lib/ecore_con/dns.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/ecore_con/dns.c b/src/lib/ecore_con/dns.c
index 8887d6a..cdd93a2 100644
--- a/src/lib/ecore_con/dns.c
+++ b/src/lib/ecore_con/dns.c
@@ -5517,6 +5517,7 @@ void dns_so_close(struct dns_socket *so) {
 
 
 void dns_so_reset(struct dns_socket *so) {
+       if (!so) return;
        if (so->answer) free(so->answer);
        so->answer = NULL;
        memset(&so->state, '\0', sizeof *so - offsetof(struct dns_socket, 
state));

-- 


Reply via email to