1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

r10210: Fix memleak.

Guenther
(This used to be commit 10358d16d7)
This commit is contained in:
Günther Deschner 2005-09-13 21:21:43 +00:00 committed by Gerald (Jerry) Carter
parent 20a36a780a
commit 2d878a4b6d

View File

@ -119,8 +119,10 @@
DEBUG(1,("krb5_get_pw_salt failed (%s)\n", error_message(ret)));
return ret;
}
return krb5_string_to_key_salt(context, enctype, password->data,
salt, key);
ret = krb5_string_to_key_salt(context, enctype, password->data, salt, key);
krb5_free_salt(context, salt);
return ret;
}
#else
#error UNKNOWN_CREATE_KEY_FUNCTIONS