Fix minor memory-leak.

This commit is contained in:
phk 2003-01-18 11:33:06 +00:00
parent 76e3af26c7
commit 5bbadf161c
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