Fix pfb allocation to match the deletion (gt1-parset1.c:3071)

#2 Merged at fd16be6
Repository
Deleted repository
Branch
default (b9761fc34afd)
Repository
reportlab
Branch
default
Author
  1. ESSS
Reviewers
Description

Running our tests on debug (Using a custom compiled version of Python 2.7 with MSVC 10) we found out that the allocation and deletion of this variable (pfb) was inconsistent. We changed just enough to make it pass, BUT we are aware that it may not be the correct move.

Another proposal was to use PyMem_FREE in the deletion, but I though it was too much to include "Python.h" on gt1_parset1.c.

Comments (1)