Revision: 41f1e2b9da99 Author: John Boyer <john.boyer@xxxxxxxxxxxxxxxxx> Date: Sun Apr 22 21:29:20 2012 Log: refinement of error handling to reduce memory leaks http://code.google.com/p/liblouisutdml/source/detail?r=41f1e2b9da99 Modified: /liblouisutdml/liblouisutdml.c ======================================= --- /liblouisutdml/liblouisutdml.c Sun Apr 22 21:11:39 2012 +++ /liblouisutdml/liblouisutdml.c Sun Apr 22 21:29:20 2012 @@ -134,7 +134,11 @@ append_new_entries (); if (!haveSemanticFile) return 0; - transcribe_document (rootElement); + if (!transcribe_document (rootElement)) + { + freeEverything (); + return 0; + } } xmlFreeDoc (ud->doc); xmlCleanupParser (); For a description of the software, to download it and links to project pages go to http://www.abilitiessoft.com