Skip to content

Commit

Permalink
fix(windows): unmap image on early return
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed Aug 19, 2023
1 parent 0e4ad90 commit 6eebfee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/module.win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ namespace lime

if (!export_directory)
{
UnMapAndLoad(&image);
return;
}

Expand Down

0 comments on commit 6eebfee

Please sign in to comment.