Fix potential memory leak in protocolgen

Authored by dvratil on Nov 19 2018, 11:45 AM.

Description

Fix potential memory leak in protocolgen

In the unlikely case of failure when parsing protocol.xml
we would leak the node tree. Not a biggie, since protocolgen
is only used during compilation to generate some C++ code.

Details

Committed
dvratilNov 19 2018, 11:45 AM
Parents
R165:a98747e5781e: Use nullptr
Branches
Unknown
Tags
Unknown