• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ICRAR / ijson / 238 / 5
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: release-3.2.0
DEFAULT BRANCH: master
Ran 25 Sep 2020 06:21AM UTC
Files 60
Run time 7s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Sep 2020 06:17AM UTC coverage: 99.696%. Remained the same
UPLOAD_C_COVERAGE=yes

push

travis-ci-com

rtobar
Remove memory leaks in C backend

The C backend had a couple of memory leaks in the initialization
routines of some of the generators it implements. Because these leaks
occurred when generators were initialized, they did not show up easily,
unless many such objects were created. This is unlike memory leaks in
the parsing process, which are apparent with a full pass over a single
parsing operation.

Two of these leaks were solved by adding the corresponding decrease in
the reference count of the objects leaked. The rest were solved by
improving how we built tuples out of sequence slices, changing our
previous manual, memory-leaking approach to use a simpler GetSlice
operation, which is easier to ready anyway.

This commit addresses #34.

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>

656 of 658 relevant lines covered (99.7%)

841.59 hits per line

Source Files on job 238.5 (UPLOAD_C_COVERAGE=yes)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 248
  • Travis Job 238.5
  • a8159e41 on github
  • Prev Job for UPLOAD_C_COVERAGE=yes on memory-leak (#237.5)
  • Next Job for UPLOAD_C_COVERAGE=yes on memory-leak (#239.5)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc