Fix Coverity ID 745 (RESOURCE_LEAK)
authorVolker Lendecke <vl@samba.org>
Fri, 13 Feb 2009 09:06:14 +0000 (10:06 +0100)
committerVolker Lendecke <vl@samba.org>
Fri, 13 Feb 2009 09:20:45 +0000 (10:20 +0100)
source3/utils/ntlm_auth.c

index b94efc99cfa41fac8d015d1b095fa59ddd2544ce..bdc75a16f9b9cff28fae86ecc9db3e327fd7af73 100644 (file)
@@ -558,6 +558,7 @@ static NTSTATUS winbind_pw_check(struct ntlmssp_state *ntlmssp_state, DATA_BLOB
                ntlmssp_state->auth_context = NULL;
        }
 
+       SAFE_FREE(error_string);
        SAFE_FREE(unix_name);
        return nt_status;
 }