Richard Harrison wrote:

Surely the XML_ParserFree should be after the throw? (I appreciate this is 99% safe, but it probably isn't the way that things should be done).

The problem is that the program doesn't return to the function after throwing an exception. I assume it's best to add the XML_ParserFree() function to atexit() somewhere.

Erik

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to