Skip to content

Commit 59326c1

Browse files
committed
peview: Move mapped unload
1 parent 4aacc6e commit 59326c1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/peview/main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,10 +300,9 @@ INT WINAPI wWinMain(
300300
status = STATUS_IMAGE_SUBSYSTEM_NOT_PRESENT;
301301
break;
302302
}
303-
}
304303

305-
if (NT_SUCCESS(status))
306304
PhUnloadMappedImage(&PvMappedImage);
305+
}
307306
}
308307

309308
if (!NT_SUCCESS(status))

0 commit comments

Comments
 (0)