]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r3796: Patch from Jay Fenlason <fenlason@redhat.com>. Don't free static buffers.
authorJeremy Allison <jra@samba.org>
Wed, 17 Nov 2004 01:43:36 +0000 (01:43 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:53:18 +0000 (10:53 -0500)
Jeremy.

source/libads/util.c

index f5b88735387099e3de6b162a77294e325ca04067..4a4d90d7fbc5a7a71303eefe687071e354b83594 100644 (file)
@@ -62,7 +62,6 @@ ADS_STATUS ads_change_trust_account_password(ADS_STRUCT *ads, char *host_princip
 failed:
        SAFE_FREE(service_principal);
        SAFE_FREE(password);
-       SAFE_FREE(new_password);
        return ret;
 }
 #endif