Remove now redundant cst_val * casts plus unnecessary check for NULL before free (latter is unnecessary in C89 and above).