From 41c08d8b3c9258f8b4775233528e0eb6735d26bc Mon Sep 17 00:00:00 2001 From: hno <> Date: Tue, 25 Feb 2003 09:17:54 +0000 Subject: [PATCH] Don't segfault if failing to load error pages --- src/errorpage.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/errorpage.cc b/src/errorpage.cc index cd89d5cd41..a52a983c7d 100644 --- a/src/errorpage.cc +++ b/src/errorpage.cc @@ -1,6 +1,6 @@ /* - * $Id: errorpage.cc,v 1.185 2003/02/21 22:50:08 robertc Exp $ + * $Id: errorpage.cc,v 1.186 2003/02/25 02:17:54 hno Exp $ * * DEBUG: section 4 Error Generation * AUTHOR: Duane Wessels @@ -232,8 +232,6 @@ errorTryLoadText(const char *page_name, const char *dir) if (len < 0) { debug(4, 0) ("errorTryLoadText: failed to fully read: '%s': %s\n", path, xstrerror()); - memBufClean(&textbuf); - text = NULL; } file_close(fd); -- 2.47.3