diff options
author | 2001-03-03 06:50:27 +0000 | |
---|---|---|
committer | 2001-03-03 06:50:27 +0000 | |
commit | f590e579b16597178d79f88279cc43193cd1a94d (patch) | |
tree | 873f81746225d7748ed10b52f93f968f254c0285 /lib/libc/rpc/auth_unix.c | |
parent | Change ownership of mux devices also, eventually X will move to (diff) | |
download | wireguard-openbsd-f590e579b16597178d79f88279cc43193cd1a94d.tar.xz wireguard-openbsd-f590e579b16597178d79f88279cc43193cd1a94d.zip |
plug many memory leaks
Diffstat (limited to 'lib/libc/rpc/auth_unix.c')
-rw-r--r-- | lib/libc/rpc/auth_unix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/rpc/auth_unix.c b/lib/libc/rpc/auth_unix.c index 50ba106ba0d..21620785ec9 100644 --- a/lib/libc/rpc/auth_unix.c +++ b/lib/libc/rpc/auth_unix.c @@ -28,7 +28,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: auth_unix.c,v 1.12 2000/08/24 17:03:20 deraadt Exp $"; +static char *rcsid = "$OpenBSD: auth_unix.c,v 1.13 2001/03/03 06:50:28 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -119,6 +119,7 @@ authunix_create(machname, uid, gid, len, aup_gids) #ifndef KERNEL if (au == NULL) { (void)fprintf(stderr, "authunix_create: out of memory\n"); + free(auth); return (NULL); } #endif |