diff options
author | Lucien Van Elsen <lwvanels@mit.edu> | 1992-08-26 00:39:48 +0000 |
---|---|---|
committer | Lucien Van Elsen <lwvanels@mit.edu> | 1992-08-26 00:39:48 +0000 |
commit | e20e18904b648cb01de6632d932bb7b83c9e3b79 (patch) | |
tree | 28467c809d1f429446b35476fa1f3d2a7199705f /clients | |
parent | f93db102353eb761c65edf139cf3efc2633820d2 (diff) |
fix memory leak.
Diffstat (limited to 'clients')
-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); } |