diff options
author | njl <njl@FreeBSD.org> | 2005-05-20 05:00:43 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2005-05-20 05:00:43 +0000 |
commit | d8af4c8b76742ac9db58b0e960129399e40ac535 (patch) | |
tree | d59e12e9bea684fe6fad6db446c68ae957d0ceb2 /share/man | |
parent | 57f2e12fca9b0a354405a5e12fb1f7e0b5cbbd1e (diff) | |
download | FreeBSD-src-d8af4c8b76742ac9db58b0e960129399e40ac535.zip FreeBSD-src-d8af4c8b76742ac9db58b0e960129399e40ac535.tar.gz |
If devclass_get_devices() returns success but a count of 0, free the
pointer. If kernel malloc(0) returns a valid pointer, it needs to be
freed. If it returns NULL, it's ok to free this also.
Submitted by: pjd
Reviewed by: imp, dfr
Obtained from: Coverity Prevent
Diffstat (limited to 'share/man')
0 files changed, 0 insertions, 0 deletions