Addressed Coverity issue 990694, 'Resource Leak' in restruct3.
Addressed Coverity issue 752015, resource leak.
Addressed some instances of Coverity issue 711927, uninitialized scalar variable.

Modified 'makeparser' target in CMake build system.