summaryrefslogtreecommitdiff
path: root/lib/cdutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cdutils.cpp')
-rw-r--r--lib/cdutils.cpp4
1 files changed, 2 insertions, 2 deletions
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 <stdio.h>
#include <string.h>
@@ -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 {