[NTG-pdftex] suspicious line in vfpacket.c

Taco Hoekwater taco at elvenkind.com
Mon Dec 18 17:27:25 CET 2006


Hi guys,

This function looks odd to me. My guess is that the
second fontec should be fontbc.

Best, Taco


void vf_free(void)
{
     vf_entry *v;
     int n;
     char **p;
     if (vf_array != NULL) {
         for (v = vf_array; v < vf_ptr; v++) {
             xfree(v->len);
             n = fontec[v->font] - fontec[v->font] + 1;
             for (p = v->data; p - v->data < n; p++)
                 xfree(*p);
             xfree(v->data);
         }
         xfree(vf_array);
     }
     xfree(packet_array);
}


More information about the ntg-pdftex mailing list