Use a string pool to reduce the memory footprint
git-svn-id: svn://svn.cc65.org/cc65/trunk@2197 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -255,6 +255,11 @@ void ObjAdd (FILE* Obj, const char* Name)
|
||||
|
||||
/* Done, close the file (we read it only, so no error check) */
|
||||
fclose (Obj);
|
||||
|
||||
/* All references to strings are now resolved, so we can delete the module
|
||||
* string pool.
|
||||
*/
|
||||
FreeObjStrings (O);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user