diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-09-24 17:36:54 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-09-24 17:36:54 +0000 |
commit | 44eccc305057561641268f38e186635eaffa766c (patch) | |
tree | c0ec3c2750ed2cf9b436c209034e26e3d2c8fffa /sys/dev/pci/nofn.c | |
parent | 8bad5a57c21169c9d2f1898cdd5bafb4a42ffb38 (diff) |
Allocate vis_user on the stack instead of using malloc(). This
way we don't have to worry about malloc() failure. Also closes
a memory leak since vis_user was never free()d. Lack of malloc()
checking pointed out by Peter Werner.
Diffstat (limited to 'sys/dev/pci/nofn.c')
0 files changed, 0 insertions, 0 deletions