git: Fix a few bugs in the new ktrdump code
Aggelos Economopoulos
aggelos at crater.dragonflybsd.org
Mon Jan 16 13:57:32 PST 2012
commit 485076fb784cffb6eec182d0280a8ead5b0195fe
Author: Aggelos Economopoulos <aoiko at cc.ece.ntua.gr>
Date: Mon Jan 16 12:57:05 2012 -0800
Fix a few bugs in the new ktrdump code
- Pass in the correct machine_valist pointer on i386 (which means we need
some indirection on x86_64).
- Keep references to all memory blocks that we allocate and free them
when we're done with the machine_valist.
- Make sure we don't leak any memory on the error paths either.
Summary of changes:
usr.bin/ktrdump/ktrdump.c | 80 +++++++++++++++++++++++++++++++++++++-------
1 files changed, 67 insertions(+), 13 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/485076fb784cffb6eec182d0280a8ead5b0195fe
--
DragonFly BSD source repository
More information about the Commits
mailing list