mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
Plug memory leak by freeing wantedblk{32,64}.
CID: 273655, 273656
This commit is contained in:
parent
7790c87b71
commit
0bebba31d3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=327273
|
@ -565,6 +565,8 @@ CMDFUNCSTART(findblk)
|
|||
end:
|
||||
curinum = ocurrent;
|
||||
curinode = ginode(curinum);
|
||||
free(wantedblk32);
|
||||
free(wantedblk64);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue