diff options
-rw-r--r-- | clients/zmailnotify/zmailnotify.c | 1 | ||||
-rw-r--r-- | clients/zstat/zstat.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/clients/zmailnotify/zmailnotify.c b/clients/zmailnotify/zmailnotify.c index 3eb4f75..3188594 100644 --- a/clients/zmailnotify/zmailnotify.c +++ b/clients/zmailnotify/zmailnotify.c @@ -463,6 +463,7 @@ char *host; 0, (MSG_DAT *) 0, (CREDENTIALS *) 0, (bit_64 *) 0, (struct sockaddr_in *)0, (struct sockaddr_in *)0,"ZMAIL0.0"); + free(ticket); if (rem != KSUCCESS) { (void) sprintf(Errmsg, "kerberos error: %s",krb_err_txt[rem]); (void) close(s); diff --git a/clients/zstat/zstat.c b/clients/zstat/zstat.c index f42a148..f5d5b75 100644 --- a/clients/zstat/zstat.c +++ b/clients/zstat/zstat.c @@ -342,6 +342,7 @@ srv_stat(host) printf("\n"); (void) close(sock); + ZFreeNotice(¬ice); return(0); } |