some more error situations where typevar wouldn't get freed
some more error situations where typevar wouldn't get freed

111WARLOCK111/gmqcc,ignatenkobrain/gmqcc,111WARLOCK111/gmqcc,ignatenkobrain/gmqcc