summaryrefslogtreecommitdiff
path: root/usr.sbin/afs
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-12-11 22:38:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-12-11 22:38:19 +0000
commit897fd9bd3eaf17eed672a611c760dd0ea8fb2510 (patch)
tree0582a11416cebdf9be5ee9484f0f05e67f7f54c0 /usr.sbin/afs
parentb4f1374b2439b35038ea8844d228b497dba35c65 (diff)
plug memory leak; found by parfait, ok beck
Diffstat (limited to 'usr.sbin/afs')
-rw-r--r--usr.sbin/afs/src/appl/pts/pts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/afs/src/appl/pts/pts.c b/usr.sbin/afs/src/appl/pts/pts.c
index 8f0b1a5fb1d..57dc6da50e4 100644
--- a/usr.sbin/afs/src/appl/pts/pts.c
+++ b/usr.sbin/afs/src/appl/pts/pts.c
@@ -726,6 +726,7 @@ listowned_1 (struct rx_connection *conn, const char *user)
}
free(pr.val);
+ free(name);
return 0;
}