1. ReportLab
  2. Untitled project
  3. reportlab

Pull requests

#2 Merged
Repository
Deleted repository
Branch
default (b9761fc34afd)
Repository
reportlab
Branch
default

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

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.

  • Learn about pull requests

Comments (1)