summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKA/Sources/PEFCodeManager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dev/ZKA/Sources/PEFCodeManager.cxx')
-rw-r--r--dev/ZKA/Sources/PEFCodeManager.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/dev/ZKA/Sources/PEFCodeManager.cxx b/dev/ZKA/Sources/PEFCodeManager.cxx
index 1b4adcfc..cecc4820 100644
--- a/dev/ZKA/Sources/PEFCodeManager.cxx
+++ b/dev/ZKA/Sources/PEFCodeManager.cxx
@@ -79,12 +79,12 @@ namespace Kernel
return;
}
- kcout << "CodeManagerPEF: Warning: Executable format error!\r";
fBad = true;
if (fCachedBlob)
mm_delete_ke_heap(fCachedBlob);
+ kcout << "CodeManagerPEF: Warning: Executable format error!\r";
fCachedBlob = nullptr;
}
@@ -200,11 +200,9 @@ namespace Kernel
return false;
PROCESS_HEADER_BLOCK proc(errOrStart.Leak().Leak());
- Ref<PROCESS_HEADER_BLOCK> refProc = proc;
-
proc.Kind = procKind;
- return ProcessScheduler::The().Leak().Add(refProc);
+ return ProcessScheduler::The().Add(proc);
}
} // namespace Utils