imp
afa51f755a
Fix memory leak of devinfo. The leak itself was documented in
...
PR/108719, but there's a simpler fix: free it after it is used, and
then get rid of the redundant frees this causes. Other leaks in this
PR not yet fixed.
While I'm here, remove NetBSD/OpenBSD code and some of the portability
#defines that were getting in the way of understanding this code. The
devinfo bug was harder to spot because one needed to know that
device_set_desc_copy() was used inside of one of them (one that didn't
take an argument!).
Prefer device_printf(sc->sc_dev, "...") to printf("%s:...",
device_get_nameunit(sc->sc_dev)). This saves almost 300 bytes.
PR: 108719
Submitted by: Antoine Brodin
2007-02-03 16:19:28 +00:00
..
2007-01-21 19:32:51 +00:00
2006-10-19 01:15:58 +00:00
2005-09-18 11:45:39 +00:00
2006-09-07 00:06:42 +00:00
2006-11-21 22:29:06 +00:00
2006-09-06 23:44:25 +00:00
2007-02-03 13:53:22 +00:00
2007-01-08 23:24:21 +00:00
2006-10-19 01:15:58 +00:00
2006-06-04 14:42:38 +00:00
2006-10-07 17:35:37 +00:00
2005-09-26 05:29:46 +00:00
2006-09-07 00:06:42 +00:00
2005-06-10 16:49:24 +00:00
2006-10-07 18:03:39 +00:00
2005-06-10 16:49:24 +00:00
2006-09-07 00:06:42 +00:00
2005-06-10 16:49:24 +00:00
2006-10-19 01:15:58 +00:00
2006-09-07 00:06:42 +00:00
2006-11-23 00:50:48 +00:00
2006-01-21 10:25:51 +00:00
2006-09-07 00:06:42 +00:00
2006-09-06 23:44:25 +00:00
2006-09-03 00:27:42 +00:00
2006-10-19 01:15:58 +00:00
2006-05-28 05:27:09 +00:00
2006-09-07 00:06:42 +00:00
2006-09-07 00:06:42 +00:00
2005-07-14 15:57:01 +00:00
2006-09-07 00:06:42 +00:00
2005-09-22 05:06:37 +00:00
2006-11-15 09:13:25 +00:00
2006-10-31 02:27:24 +00:00
2006-09-07 00:06:42 +00:00
2006-09-07 00:06:42 +00:00
2006-09-07 00:06:42 +00:00
2005-10-16 20:22:56 +00:00
2006-09-07 00:06:42 +00:00
2005-01-06 01:43:34 +00:00
2006-09-07 00:06:42 +00:00
2006-09-07 00:06:42 +00:00
2006-09-07 00:06:42 +00:00
2006-09-06 23:29:53 +00:00
2005-12-31 04:38:50 +00:00
2007-01-21 19:32:51 +00:00
2006-10-19 01:15:58 +00:00
2006-09-07 00:06:42 +00:00
2006-09-07 00:06:42 +00:00
2007-02-03 16:19:28 +00:00
2007-01-28 11:56:14 +00:00
2006-11-28 21:13:07 +00:00
2006-09-07 00:06:42 +00:00
2006-11-02 00:54:38 +00:00
2006-09-07 00:06:42 +00:00
2006-09-07 00:06:42 +00:00
2007-01-17 03:50:45 +00:00
2006-12-26 17:43:46 +00:00
2006-09-07 00:06:42 +00:00
2007-01-08 23:21:06 +00:00
2007-01-08 23:21:06 +00:00
2006-09-06 23:44:25 +00:00
2006-09-07 00:06:42 +00:00
2006-11-28 21:13:07 +00:00
2006-11-28 21:13:07 +00:00
2006-10-03 01:13:26 +00:00
2006-10-19 01:15:58 +00:00
2006-09-06 23:44:25 +00:00
2007-01-28 10:46:32 +00:00
2006-09-07 00:06:42 +00:00
2007-01-03 10:50:03 +00:00
2006-11-27 18:39:02 +00:00
2006-10-19 01:15:58 +00:00
2006-09-07 00:06:42 +00:00
2006-10-07 18:09:27 +00:00
2006-09-07 00:06:42 +00:00
2006-09-07 00:06:42 +00:00
2005-12-31 04:38:50 +00:00