From d6214b0f60cb6c8386723717159b9212b1d55174 Mon Sep 17 00:00:00 2001 From: pixel Date: Fri, 12 Dec 2003 12:45:20 +0000 Subject: Small bugfixes --- lib/cdutils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/cdutils.cpp') diff --git a/lib/cdutils.cpp b/lib/cdutils.cpp index 82e460a..9e81c89 100644 --- a/lib/cdutils.cpp +++ b/lib/cdutils.cpp @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: cdutils.cpp,v 1.19 2003-12-11 16:53:43 pixel Exp $ */ +/* $Id: cdutils.cpp,v 1.20 2003-12-12 12:45:20 pixel Exp $ */ #include #include @@ -458,7 +458,7 @@ struct cdutils::DirEntry * cdutils::find_dir_entry(Byte ** bufout, struct cdutil } } - if (rdir->R) { + if (rdir && rdir->R) { free(*bufout); *bufout = buffer; } else { -- cgit v1.2.3