Author: rodrigc
Date: Wed Dec  9 19:19:36 2015
New Revision: 292021
URL: https://svnweb.freebsd.org/changeset/base/292021

Log:
  Merge from OpenBSD:
    revision 1.11
    date: 2015/11/27 01:57:59;  author: mmcc;  state: Exp;  lines: +2 -3
    Remove three NULL-checks before free().   ok millert@

Modified:
  head/lib/libopenbsd/imsg.c

Modified: head/lib/libopenbsd/imsg.c
==============================================================================
--- head/lib/libopenbsd/imsg.c  Wed Dec  9 18:55:25 2015        (r292020)
+++ head/lib/libopenbsd/imsg.c  Wed Dec  9 19:19:36 2015        (r292021)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: imsg.c,v 1.10 2015/07/19 07:18:59 nicm Exp $  */
+/*     $OpenBSD: imsg.c,v 1.11 2015/11/27 01:57:59 mmcc Exp $  */
 
 /*
  * Copyright (c) 2003, 2004 Henning Brauer <[email protected]>
@@ -120,8 +120,7 @@ again:
        }
 
 fail:
-       if (ifd)
-               free(ifd);
+       free(ifd);
        return (n);
 }
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to