From 8a0abfb04560072edc4e444ddc0dcad8da19634e Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 1 Jun 2008 21:57:30 +0000 Subject: Fix for crash that occurs in the unarj's fallback code - _uncompressedData is not allocated when ARJ files have not been opened svn-id: r32480 --- common/unarj.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'common') diff --git a/common/unarj.cpp b/common/unarj.cpp index 57673341f7..eb55e116ad 100644 --- a/common/unarj.cpp +++ b/common/unarj.cpp @@ -291,6 +291,7 @@ void ArjFile::close() { if (_fallBack) { _currArchive.close(); + return; } else { delete _uncompressed; } -- cgit v1.2.3