check match_entry->vars
check the pointer returns from zmalloc