]> git.mdlowis.com Git - archive/dlang.git/commitdiff
Removed erroneous delete operation that results in deleting a pointer that the iparse...
authorMike D. Lowis <mike@mdlowis.com>
Mon, 27 Feb 2012 20:28:44 +0000 (15:28 -0500)
committerMike D. Lowis <mike@mdlowis.com>
Mon, 27 Feb 2012 20:28:44 +0000 (15:28 -0500)
source/parse_utils/parser/iparser.cpp

index 82829b77f6b2af01c6982defeb53ba73b009017d..75c659f494c1cede653aeadd96fd715a0e9eeb45 100644 (file)
@@ -32,10 +32,6 @@ IParser::IParser() : input(NULL)
 
 IParser::~IParser()
 {
-    if(input != NULL)
-    {
-        delete input;
-    }
 }
 
 void IParser::setInput(char* in)