diff options
author | 2005-09-08 03:33:55 +0000 | |
---|---|---|
committer | 2005-09-08 03:33:55 +0000 | |
commit | 817e312bc67bbd6d9c2171f6e45accf75a09a580 (patch) | |
tree | 1a14dff95630ccfc75e8b60351364420c3fdfcbd /sys/dev/ic/ath.c | |
parent | add missing TULIP_STS_LINKFAIL flag in tulip_21041_media_probe(). (diff) | |
download | wireguard-openbsd-817e312bc67bbd6d9c2171f6e45accf75a09a580.tar.xz wireguard-openbsd-817e312bc67bbd6d9c2171f6e45accf75a09a580.zip |
free(NULL, ...) is not safe in the kernel. So check for NULL'ness
before free()'ing buf in sd_get_parms(). Tweak code so there is only
one free(buf, ...) to worry about.
ok deraadt@.
Diffstat (limited to 'sys/dev/ic/ath.c')
0 files changed, 0 insertions, 0 deletions