mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
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:
parent
d9ca81dabe
commit
5b74e28e80
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=292021
|
@ -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,7 +120,6 @@ imsg_read(struct imsgbuf *ibuf)
|
|||
}
|
||||
|
||||
fail:
|
||||
if (ifd)
|
||||
free(ifd);
|
||||
return (n);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue