summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>2004-03-15 15:04:36 +0000
committeraaron <aaron@openbsd.org>2004-03-15 15:04:36 +0000
commit5df1818148af8c78f7812395780a9c400d94af4d (patch)
tree7ec2cbacb14838e588ee34e8d9b62d411f32b8d0
parentReplace "if (foo == bar); else baz;" idiom with "if (foo != bar) baz;". Much (diff)
downloadwireguard-openbsd-5df1818148af8c78f7812395780a9c400d94af4d.tar.xz
wireguard-openbsd-5df1818148af8c78f7812395780a9c400d94af4d.zip
Plug memory leak caused by errant semi-colon. Already submitted and committed
to arla-CURRENT by lha at stacken.kth.se. miod@ ok
-rw-r--r--usr.sbin/afs/src/appl/lib/arlalib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/afs/src/appl/lib/arlalib.c b/usr.sbin/afs/src/appl/lib/arlalib.c
index 3b220df620f..0ce533265ff 100644
--- a/usr.sbin/afs/src/appl/lib/arlalib.c
+++ b/usr.sbin/afs/src/appl/lib/arlalib.c
@@ -220,7 +220,7 @@ get_cred5(const char *princ, const char *inst, const char *krealm,
out:
if (id)
krb5_cc_close(context, id);
- if (context);
+ if (context)
krb5_free_context(context);
return ret;