compiler/ecs: Double free memory fix (comment)
authorJerome St-Louis <jerome@ecere.com>
Sun, 28 Aug 2011 21:26:30 +0000 (17:26 -0400)
committerJerome St-Louis <jerome@ecere.com>
Sun, 28 Aug 2011 21:26:30 +0000 (17:26 -0400)
compiler/bootstrap/ecs/bootstrap/ecs.c
compiler/ecs/ecs.ec

index 5c95522..d75e9e3 100644 (file)
@@ -2422,7 +2422,6 @@ __ecereProp___ecereNameSpace__ecere__com__Iterator_Set_data(&__internalIterator,
 ((unsigned int (*)(struct __ecereNameSpace__ecere__com__Instance *, const char *  string))potFile->_vTbl[__ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts])(potFile, "\n");
 ((unsigned int (*)(struct __ecereNameSpace__ecere__com__Instance *, const char *  string))potFile->_vTbl[__ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts])(potFile, "\n");
 (__ecereNameSpace__ecere__com__eSystem_Delete(msgstr), msgstr = 0);
-(__ecereNameSpace__ecere__com__eSystem_Delete(comment), comment = 0);
 }
 }
 (__ecereNameSpace__ecere__com__eInstance_DecRef(f), f = 0);
index a5509d2..5f36609 100644 (file)
@@ -1805,7 +1805,7 @@ class SymbolgenApp : Application
                                  potFile.Puts(msgstr); potFile.Puts("\n");
                                  potFile.Puts("\n");
                                  delete msgstr;
-                                 delete comment;
+                                 // delete comment;
                               }
                            }
                            delete f;