From 888a1432f27d33a964da9f22b93a992109a07f1a Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 8 Apr 2008 23:34:45 +0000 Subject: [PATCH] i have no idea how gcc/msvc both didn't catch the return false from earlier --HG-- branch : sourcemod-1.0.x extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/sourcemod-1.0.x%402006 --- core/systems/LibrarySys.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/systems/LibrarySys.cpp b/core/systems/LibrarySys.cpp index ca9e37ee..28d2bbe9 100644 --- a/core/systems/LibrarySys.cpp +++ b/core/systems/LibrarySys.cpp @@ -320,6 +320,7 @@ ILibrary *LibrarySystem::OpenLibrary(const char *path, char *error, size_t maxle if (lib == NULL) { GetLoaderError(error, maxlength); + return NULL; } return new CLibrary(lib);