- Don't try to free uninitialized pointer in error case.
authorFilip Navara <filip.navara@gmail.com>
Tue, 28 Dec 2004 12:18:08 +0000 (12:18 +0000)
committerFilip Navara <filip.navara@gmail.com>
Tue, 28 Dec 2004 12:18:08 +0000 (12:18 +0000)
svn path=/trunk/; revision=12378

reactos/lib/dnsapi/dnsapi/query.c

index 6f0ae2a..0806af1 100644 (file)
@@ -64,7 +64,6 @@ DNS_STATUS WINAPI DnsQuery_A
                            adns_if_noserverwarn,
                            0 );
     if( adns_error != adns_s_ok ) {
-      adns_finish( astate );
       return DnsIntTranslateAdnsToDNS_STATUS( adns_error );
     }