diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-03-26 15:31:16 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-03-26 15:31:16 +0000 |
commit | 0960796318a49681f95e509960991339c8e9ccbe (patch) | |
tree | 901b97163c8b0a266ffe9f5e62376af6356551be /sys/dev/usb/if_rum.c | |
parent | aeee42adf59ba123e92b0d27d239de085540f864 (diff) |
Add sizes to various free(9) calls. Fixing the simpler ones first.
ok natano visa
Diffstat (limited to 'sys/dev/usb/if_rum.c')
-rw-r--r-- | sys/dev/usb/if_rum.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_rum.c b/sys/dev/usb/if_rum.c index 37bd8926324..49ab637ddcc 100644 --- a/sys/dev/usb/if_rum.c +++ b/sys/dev/usb/if_rum.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_rum.c,v 1.120 2017/01/22 10:17:39 dlg Exp $ */ +/* $OpenBSD: if_rum.c,v 1.121 2017/03/26 15:31:15 deraadt Exp $ */ /*- * Copyright (c) 2005-2007 Damien Bergamini <damien.bergamini@free.fr> @@ -254,7 +254,7 @@ rum_attachhook(struct device *self) sc->sc_dev.dv_xname); } - free(ucode, M_DEVBUF, 0); + free(ucode, M_DEVBUF, size); } void |