glc_lib: fixed a malloc / delete[] misusage
opmapcontrol: fixed use of uninitialized member mapType