diff options
author | Ken Raeburn <raeburn@mit.edu> | 2002-06-11 00:49:15 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2002-06-11 00:49:15 +0000 |
commit | 9e68928f266e38f1ce336d57b7950c6643afff0d (patch) | |
tree | b87f2056b38ddfd7c3a53834d19cae83b1bc0dc2 /src/lib/krb5/os/t_locate_kdc.c | |
parent | e736f7b36e15068570a84b084af45d7c9804330e (diff) | |
download | krb5-9e68928f266e38f1ce336d57b7950c6643afff0d.zip krb5-9e68928f266e38f1ce336d57b7950c6643afff0d.tar.gz krb5-9e68928f266e38f1ce336d57b7950c6643afff0d.tar.bz2 |
* t_locate_kdc.c (main): Free storage allocated by library before exiting
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14490 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/os/t_locate_kdc.c')
-rw-r--r-- | src/lib/krb5/os/t_locate_kdc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/krb5/os/t_locate_kdc.c b/src/lib/krb5/os/t_locate_kdc.c index fc2073e..39340e7 100644 --- a/src/lib/krb5/os/t_locate_kdc.c +++ b/src/lib/krb5/os/t_locate_kdc.c @@ -123,5 +123,8 @@ int main (int argc, char *argv[]) } if (err) kfatal (err); print_addrs (); + + krb5int_free_addrlist (&al); + krb5_free_context (ctx); return 0; } |