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

curl / curl / 8876 / 22
37%
master: 37%

Build:
DEFAULT BRANCH: master
Ran 04 Oct 2018 12:21AM UTC
Files 275
Run time 12s
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

03 Oct 2018 09:45PM UTC coverage: 73.544% (+0.005%) from 73.539%
T=coverage

push

travis-ci

danielgustafsson
memory: ensure to check allocation results

The result of a memory allocation should always be checked, as we may
run under memory pressure where even a small allocation can fail. This
adds checking and error handling to a few cases where the allocation
wasn't checked for success. In the ftp case, the freeing of the path
variable is moved ahead of the allocation since there is little point
in keeping it around across the strdup, and the separation makes for
more readable code. In nwlib, the lock is aslo freed in the error path.

Also bumps the copyright years on affected files.

Closes #3084
Reviewed-by: Jay Satiro <raysatiro@yahoo.com>
Reviewed-by: Daniel Stenberg <daniel@haxx.se>

21305 of 28969 relevant lines covered (73.54%)

594963.3 hits per line

Source Files on job 8876.22 (T=coverage)
  • Tree
  • List 0
  • Changed 74
  • Source Changed 5
  • Coverage Changed 74
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8331
  • Travis Job 8876.22
  • 2873971d on github
  • Prev Job for T=coverage on master (#8872.22)
  • Next Job for T=coverage on master (#8877.22)
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