Free the intrhand name when free'ing a intrhand.

Submitted by:	bde
This commit is contained in:
John Baldwin 2001-01-16 02:17:51 +00:00
parent 35c05ac61b
commit 10fd583277
4 changed files with 4 additions and 0 deletions

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}