diff system/file.cc @ 50:35ce1a30f3f9

* Added va_end where there is a va_start * Used NULL instead of 0 (so it works on 64b)
author thib
date Fri, 17 Apr 2009 18:38:06 +0000
parents 5f548e5957a8
children 15a18fbe6f21
line wrap: on
line diff
--- a/system/file.cc
+++ b/system/file.cc
@@ -149,6 +149,7 @@ void ARCFILE::Init(void) {
 ARCFILE::~ARCFILE() {
 	if (filenames_orig) delete[] filenames_orig;
 	delete[] arcname;
+	delete next;
 }
 
 ARCFILE::iterator ARCFILE::SearchName(const char* f, const char* ext) {