Fixed memory leak in Chk2 macro by freeing the error struct