From 4f339c2ce12dbe31b829d843b3c2c5fd95a4b17b Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 19 Mar 2010 19:21:41 +0000 Subject: [PATCH] preload_image(): Removed erroneous rld_unlock() in error case. Fixes #5599. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35919 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/runtime_loader/elf.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/system/runtime_loader/elf.cpp b/src/system/runtime_loader/elf.cpp index a2c1cbfe1a..0e38e077ca 100644 --- a/src/system/runtime_loader/elf.cpp +++ b/src/system/runtime_loader/elf.cpp @@ -307,7 +307,6 @@ preload_image(char const* path) image_t *image = NULL; status_t status = load_image(path, B_LIBRARY_IMAGE, NULL, &image); if (status < B_OK) { - rld_unlock(); KTRACE("rld: preload_image(\"%s\") failed to load container: %s", path, strerror(status)); return status;