Make sure we initialize conn to NULL, because a routine we call may give an error...
authorRichard Sharpe <rsharpe@nutanix.com>
Thu, 23 Apr 2015 19:36:28 +0000 (12:36 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 23 Apr 2015 20:17:12 +0000 (22:17 +0200)
commit471744a32d37f187c87f9bfa6f860b69446b9afe
tree719567519f8e473c010d1f2f04f6aac3ac700c89
parent79dc084dcb6e28211addfc5d75b817cc735d67c1
Make sure we initialize conn to NULL, because a routine we call may give an error and not touch conn, and then we get an error when trying to TALLOC_FREE it.

Signed-off-by: Richard Sharpe <rsharpe@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/utils/net_dns.c