Fix minor memory-leak.

This commit is contained in:
Poul-Henning Kamp 2003-01-18 11:33:06 +00:00
parent f48649e525
commit 6b267654ab
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109482
2 changed files with 2 additions and 0 deletions

View file

@ -1397,6 +1397,7 @@ ccdioctltoo(dev_t dev, u_long cmd, caddr_t data, int flag, struct thread *td)
ccdunlock(cs);
return (error);
}
free(cpp, M_CCD);
/*
* The ccd has been successfully initialized, so

View file

@ -1397,6 +1397,7 @@ ccdioctltoo(dev_t dev, u_long cmd, caddr_t data, int flag, struct thread *td)
ccdunlock(cs);
return (error);
}
free(cpp, M_CCD);
/*
* The ccd has been successfully initialized, so