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

curl / curl / 8876
37%

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

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

Jobs
ID Job ID Ran Files Coverage
22 8876.22 (T=coverage) 04 Oct 2018 12:21AM UTC 0
73.54
Travis Job 8876.22
Source Files on build 8876
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8876
  • 2873971d on github
  • Prev Build on master (#8872)
  • Next Build on master (#8877)
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