[NTG-pdftex] suspicious line in vfpacket.c

Thanh Han The hanthethanh at gmail.com
Mon Dec 18 19:27:31 CET 2006


yes indeed. Thanks for pointing it out.

Thanh

On Mon, Dec 18, 2006 at 05:27:25PM +0100, Taco Hoekwater wrote:
> 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);
> }
> _______________________________________________
> ntg-pdftex mailing list
> ntg-pdftex at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-pdftex


More information about the ntg-pdftex mailing list