# HG changeset patch # User rubidium # Date 1315476163 0 # Node ID 4c20dc16f44757ca16f535b0d42845624ff5622d # Parent 475be2c9338321b2236ba412bbce5a91f3c3dcbf (svn r22906) -Fix (r22905): variable not properly cleared before use diff --git a/src/script/script_scanner.cpp b/src/script/script_scanner.cpp --- a/src/script/script_scanner.cpp +++ b/src/script/script_scanner.cpp @@ -57,6 +57,7 @@ /* Mark this class as global pointer */ this->engine->SetGlobalPointer(this); this->main_script = NULL; + this->tar_file = NULL; } ScriptScanner::~ScriptScanner()