Searched hist:"2 b34ca7d" (Results 1 – 1 of 1) sorted by relevance
/freebsd/lib/libc/gen/ |
H A D | getnetgrent.c | 2b34ca7d Wed Jun 08 10:25:16 GMT 2016 Don Lewis <truckman@FreeBSD.org> Don't leak olinep if malloc() fails.
If malloc() fails to allocate linep, then free olinep (if it exists) before returning to avoid a memory leak.
Reported by: Coverity CID: 1016716 Reviewed by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6755 2b34ca7d Wed Jun 08 10:25:16 GMT 2016 Don Lewis <truckman@FreeBSD.org> Don't leak olinep if malloc() fails.
If malloc() fails to allocate linep, then free olinep (if it exists) before returning to avoid a memory leak.
Reported by: Coverity CID: 1016716 Reviewed by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6755 2b34ca7d Wed Jun 08 10:25:16 GMT 2016 Don Lewis <truckman@FreeBSD.org> Don't leak olinep if malloc() fails.
If malloc() fails to allocate linep, then free olinep (if it exists) before returning to avoid a memory leak.
Reported by: Coverity CID: 1016716 Reviewed by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6755 2b34ca7d Wed Jun 08 10:25:16 GMT 2016 Don Lewis <truckman@FreeBSD.org> Don't leak olinep if malloc() fails.
If malloc() fails to allocate linep, then free olinep (if it exists) before returning to avoid a memory leak.
Reported by: Coverity CID: 1016716 Reviewed by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6755 2b34ca7d Wed Jun 08 10:25:16 GMT 2016 Don Lewis <truckman@FreeBSD.org> Don't leak olinep if malloc() fails.
If malloc() fails to allocate linep, then free olinep (if it exists) before returning to avoid a memory leak.
Reported by: Coverity CID: 1016716 Reviewed by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6755 2b34ca7d Wed Jun 08 10:25:16 GMT 2016 Don Lewis <truckman@FreeBSD.org> Don't leak olinep if malloc() fails.
If malloc() fails to allocate linep, then free olinep (if it exists) before returning to avoid a memory leak.
Reported by: Coverity CID: 1016716 Reviewed by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6755 2b34ca7d Wed Jun 08 10:25:16 GMT 2016 Don Lewis <truckman@FreeBSD.org> Don't leak olinep if malloc() fails.
If malloc() fails to allocate linep, then free olinep (if it exists) before returning to avoid a memory leak.
Reported by: Coverity CID: 1016716 Reviewed by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6755
|