Author: eadler
Date: Wed Jan 16 05:03:52 2013
New Revision: 245494
URL: http://svnweb.freebsd.org/changeset/base/245494

Log:
  Free memory before exiting in order to silence a warning from the clang
  static analyzer
  
  Approved by:  cperciva
  MFC after:    3 days

Modified:
  head/bin/pwait/pwait.c

Modified: head/bin/pwait/pwait.c
==============================================================================
--- head/bin/pwait/pwait.c      Wed Jan 16 05:03:49 2013        (r245493)
+++ head/bin/pwait/pwait.c      Wed Jan 16 05:03:52 2013        (r245494)
@@ -141,5 +141,6 @@ main(int argc, char *argv[])
                nleft -= n;
        }
 
+       free(e);
        return 0;
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to