HPCC-10844 Fix minor leak in type processing

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>