1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-24 16:10:11 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71090
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); mtx_exit(&sched_lock, MTX_SPIN);
} }
} }
free(idesc->ih_name, M_DEVBUF);
free(idesc, M_DEVBUF); free(idesc, M_DEVBUF);
return (0); return (0);
} }

View File

@ -709,6 +709,7 @@ inthand_remove(struct intrhand *idesc)
mtx_exit(&sched_lock, MTX_SPIN); mtx_exit(&sched_lock, MTX_SPIN);
} }
} }
free(idesc->ih_name, M_DEVBUF);
free(idesc, M_DEVBUF); free(idesc, M_DEVBUF);
return (0); return (0);
} }

View File

@ -709,6 +709,7 @@ inthand_remove(struct intrhand *idesc)
mtx_exit(&sched_lock, MTX_SPIN); mtx_exit(&sched_lock, MTX_SPIN);
} }
} }
free(idesc->ih_name, M_DEVBUF);
free(idesc, M_DEVBUF); free(idesc, M_DEVBUF);
return (0); return (0);
} }

View File

@ -709,6 +709,7 @@ inthand_remove(struct intrhand *idesc)
mtx_exit(&sched_lock, MTX_SPIN); mtx_exit(&sched_lock, MTX_SPIN);
} }
} }
free(idesc->ih_name, M_DEVBUF);
free(idesc, M_DEVBUF); free(idesc, M_DEVBUF);
return (0); return (0);
} }