summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2010-05-06 21:57:38 +0000
committerdelphij <delphij@FreeBSD.org>2010-05-06 21:57:38 +0000
commitc866f0bf58897d1049847b73c521aa28c48f087f (patch)
tree715753e16b6d37fd1994784d0fe5cebb5c6398a9
parent1b86a532855b7bb16bb0b822ce483357a9b33597 (diff)
downloadFreeBSD-src-c866f0bf58897d1049847b73c521aa28c48f087f.zip
FreeBSD-src-c866f0bf58897d1049847b73c521aa28c48f087f.tar.gz
Plug a memory leak.
MFC after: 2 weeks
-rw-r--r--usr.bin/rpcgen/rpc_cout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/rpcgen/rpc_cout.c b/usr.bin/rpcgen/rpc_cout.c
index 8bbd5d3..4c36ce6 100644
--- a/usr.bin/rpcgen/rpc_cout.c
+++ b/usr.bin/rpcgen/rpc_cout.c
@@ -489,6 +489,7 @@ inline_struct(definition *def, int flag)
}
size = 0;
i = 0;
+ free(sizestr);
sizestr = NULL;
print_stat(indent + 1, &dl->decl);
}
OpenPOWER on IntegriCloud