Memory leak fix - use goto free_subtype instead of freeing inplace
Memory leak fix - use goto free_subtype instead of freeing inplace

jjz/libetpan,disaykin/libetpan,disaykin/libetpan,jjz/libetpan,disaykin/libetpan,tipbit/libetpan,jjz/libetpan,tipbit/libetpan,tipbit/libetpan