mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-16 15:11:52 +00:00
Fix minor memory-leak.
This commit is contained in:
parent
f48649e525
commit
6b267654ab
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109482
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user