Skip to content

Commit

Permalink
reap_fileref: free oldutf8.Buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
maharmstone committed Nov 9, 2019
1 parent f46ad32 commit 26a05b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/btrfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1784,6 +1784,9 @@ void reap_fileref(device_extension* Vcb, file_ref* fr) {

free_fcb(fr->fcb);

if (fr->oldutf8.Buffer)
ExFreePool(fr->oldutf8.Buffer);

ExFreeToPagedLookasideList(&Vcb->fileref_lookaside, fr);
}

Expand Down

0 comments on commit 26a05b3

Please sign in to comment.