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

ICRAR / ijson / 238
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: release-3.2.0
DEFAULT BRANCH: master
Ran 25 Sep 2020 06:21AM UTC
Jobs 12
Files 73
Run time 1min
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

pending completion
238

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>

1514 of 1517 relevant lines covered (99.8%)

370.28 hits per line

Jobs
ID Job ID Ran Files Coverage
1 238.1 (YAJL_VERSION=1.0.12) 25 Sep 2020 06:21AM UTC 0
75.95
Travis Job 238.1
2 238.2 25 Sep 2020 06:21AM UTC 0
92.02
Travis Job 238.2
3 238.3 (YAJL_VERSION=1.0.9) 25 Sep 2020 06:21AM UTC 0
76.2
Travis Job 238.3
4 238.4 25 Sep 2020 06:21AM UTC 0
91.9
Travis Job 238.4
5 238.5 (UPLOAD_C_COVERAGE=yes) 25 Sep 2020 06:21AM UTC 0
99.7
Travis Job 238.5
6 238.6 (YAJL_VERSION=cant_find_it) 25 Sep 2020 06:21AM UTC 0
72.68
Travis Job 238.6
7 238.7 25 Sep 2020 06:21AM UTC 0
95.06
Travis Job 238.7
8 238.8 25 Sep 2020 06:22AM UTC 0
95.06
Travis Job 238.8
9 238.9 (YAJL_VERSION=none) 25 Sep 2020 06:22AM UTC 0
72.33
Travis Job 238.9
10 238.10 25 Sep 2020 06:22AM UTC 0
95.22
Travis Job 238.10
11 238.11 25 Sep 2020 06:22AM UTC 0
95.22
Travis Job 238.11
12 238.12 25 Sep 2020 06:22AM UTC 0
92.02
Travis Job 238.12
Source Files on build 238
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #238
  • a8159e41 on github
  • Prev Build on memory-leak (#237)
  • Next Build on memory-leak (#239)
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