summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_rman.c
diff options
context:
space:
mode:
authorbmilekic <bmilekic@FreeBSD.org>2000-12-02 00:40:57 +0000
committerbmilekic <bmilekic@FreeBSD.org>2000-12-02 00:40:57 +0000
commite91e9907ef79a1f04320b63f9388ad93917a6b84 (patch)
tree9b9e0831c53ab059f2abfd946201634f066d5d71 /sys/kern/subr_rman.c
parent2b0e48c014b3752cb18b4108f2857f52c32094a7 (diff)
downloadFreeBSD-src-e91e9907ef79a1f04320b63f9388ad93917a6b84.zip
FreeBSD-src-e91e9907ef79a1f04320b63f9388ad93917a6b84.tar.gz
Make sure to free the sf_buf if we've allocated it but fail to allocate
an mbuf (ENOBUFS) before returning so that we don't leak sf_bufs in the case where we're out of mbufs. Submitted by: David Greenman (dg)
Diffstat (limited to 'sys/kern/subr_rman.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud