(krb5_build_authenticator): realloc correctly

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5054 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1998-06-30 16:13:07 +00:00
parent 64f03bff59
commit ea28b3e1c6

View File

@@ -117,7 +117,7 @@ krb5_build_authenticator (krb5_context context,
u_char *tmp;
buf_size *= 2;
tmp = realloc (tmp, buf_size);
tmp = realloc (buf, buf_size);
if (tmp == NULL) {
ret = ENOMEM;
goto fail;