Plug memory leak by freeing wantedblk{32,64}.

CID: 273655, 273656
This commit is contained in:
Warner Losh 2017-12-28 05:34:08 +00:00
parent 7790c87b71
commit 0bebba31d3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=327273

View file

@ -565,6 +565,8 @@ CMDFUNCSTART(findblk)
end:
curinum = ocurrent;
curinode = ginode(curinum);
free(wantedblk32);
free(wantedblk64);
return 0;
}