Author: delphij
Date: Thu May  6 21:57:38 2010
New Revision: 207733
URL: http://svn.freebsd.org/changeset/base/207733

Log:
  Plug a memory leak.
  
  MFC after:    2 weeks

Modified:
  head/usr.bin/rpcgen/rpc_cout.c

Modified: head/usr.bin/rpcgen/rpc_cout.c
==============================================================================
--- head/usr.bin/rpcgen/rpc_cout.c      Thu May  6 20:58:23 2010        
(r207732)
+++ head/usr.bin/rpcgen/rpc_cout.c      Thu May  6 21:57:38 2010        
(r207733)
@@ -489,6 +489,7 @@ inline_struct(definition *def, int flag)
                        }
                        size = 0;
                        i = 0;
+                       free(sizestr);
                        sizestr = NULL;
                        print_stat(indent + 1, &dl->decl);
                }
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to