summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2010-05-20 00:31:09 +0000
committerdelphij <delphij@FreeBSD.org>2010-05-20 00:31:09 +0000
commit0de883b8418a5116d536172859259777285caa3d (patch)
treea6732f5544a5d0332cc589ca5b812371f75a4a56 /usr.bin
parent0b3432eddeb42a4468fdce4f8a11f604603f9815 (diff)
downloadFreeBSD-src-0de883b8418a5116d536172859259777285caa3d.zip
FreeBSD-src-0de883b8418a5116d536172859259777285caa3d.tar.gz
MFC r207733:
Plug memory leak.
Diffstat (limited to 'usr.bin')
-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