inbuf.value until after the last place where we use it.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8245
dc483132-0cff-0310-8789-
dd5450dbe970
+Wed Jun 5 00:08:32 1996 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * gss-client.c (call_server): When reading in the test value from
+ a file, don't free free inbuf.value until after the last
+ place where we use it.
+
Tue Mar 12 23:46:26 1996 Ken Raeburn <raeburn@cygnus.com>
* gss-server.c (timeval_subtract): Use old-style function
} else if (! state) {
fprintf(stderr, "Warning! Message not encrypted.\n");
}
- if (use_file)
- free(in_buf.value);
/* Send to server */
if (send_token(s, &out_buf) < 0)
return -1;
}
(void) gss_release_buffer(&min_stat, &out_buf);
+ if (use_file)
+ free(in_buf.value);
printf("Signature verified.\n");