Skip to content

Commit 16b178c

Browse files
committed
*Remove debug call from previous commit
1 parent 0a8a178 commit 16b178c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

phlib/kph.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,6 @@ NTSTATUS KphInstallEx(
348348
if (!NT_SUCCESS(status = NtSetValueKey(keyHandle, &valueName, 0, REG_EXPAND_SZ, fileName.Buffer, (ULONG)fileName.MaximumLength)))
349349
goto CleanupExit;
350350

351-
NtUnloadDriver(&objectName);
352351
status = NtLoadDriver(&objectName);
353352

354353
if (status == STATUS_IMAGE_ALREADY_LOADED || status == STATUS_OBJECT_NAME_COLLISION)
@@ -413,9 +412,7 @@ NTSTATUS KphUninstall(
413412
}
414413

415414
if (NT_SUCCESS(status = NtUnloadDriver(&objectName)))
416-
{
417415
NtDeleteKey(keyHandle);
418-
}
419416

420417
PhDereferenceObject(keyName);
421418
NtClose(keyHandle);

0 commit comments

Comments
 (0)