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)
committerKarolin Seeger <kseeger@samba.org>
Mon, 27 Apr 2015 21:54:49 +0000 (23:54 +0200)
commit967679ceb5788d181e1768db32d0d689c8d0a113
treee25f9739d0304994625b3fc01afe3c6ec41eac82
parentb5ff65091e8709817236ac3d1663fe20bb2b8161
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.

https://bugzilla.samba.org/show_bug.cgi?id=11234

Signed-off-by: Richard Sharpe <rsharpe@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 471744a32d37f187c87f9bfa6f860b69446b9afe)
source3/utils/net_dns.c