Free the intrhand name when free'ing a intrhand.
Submitted by: bde
This commit is contained in:
parent
35c05ac61b
commit
10fd583277
@ -709,6 +709,7 @@ inthand_remove(struct intrhand *idesc)
|
||||
mtx_exit(&sched_lock, MTX_SPIN);
|
||||
}
|
||||
}
|
||||
free(idesc->ih_name, M_DEVBUF);
|
||||
free(idesc, M_DEVBUF);
|
||||
return (0);
|
||||
}
|
||||
|
@ -709,6 +709,7 @@ inthand_remove(struct intrhand *idesc)
|
||||
mtx_exit(&sched_lock, MTX_SPIN);
|
||||
}
|
||||
}
|
||||
free(idesc->ih_name, M_DEVBUF);
|
||||
free(idesc, M_DEVBUF);
|
||||
return (0);
|
||||
}
|
||||
|
@ -709,6 +709,7 @@ inthand_remove(struct intrhand *idesc)
|
||||
mtx_exit(&sched_lock, MTX_SPIN);
|
||||
}
|
||||
}
|
||||
free(idesc->ih_name, M_DEVBUF);
|
||||
free(idesc, M_DEVBUF);
|
||||
return (0);
|
||||
}
|
||||
|
@ -709,6 +709,7 @@ inthand_remove(struct intrhand *idesc)
|
||||
mtx_exit(&sched_lock, MTX_SPIN);
|
||||
}
|
||||
}
|
||||
free(idesc->ih_name, M_DEVBUF);
|
||||
free(idesc, M_DEVBUF);
|
||||
return (0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user