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@
This commit is contained in:
Craig Rodrigues 2015-12-09 19:19:36 +00:00
parent d9ca81dabe
commit 5b74e28e80

View File

@ -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 <henning@openbsd.org>
@ -120,8 +120,7 @@ imsg_read(struct imsgbuf *ibuf)
}
fail:
if (ifd)
free(ifd);
free(ifd);
return (n);
}