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

mosra / corrade
94%
master: 8%

Build:
Build:
LAST BUILD BRANCH: next
DEFAULT BRANCH: master
Repo Added 01 Aug 2016 11:40AM UTC
Files 780
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

LAST BUILD ON BRANCH array-deleter-fix
branch: array-deleter-fix
CHANGE BRANCH
x
Reset
  • array-deleter-fix
  • android
  • appveyor-color
  • ci-updates
  • coverage
  • coveralls
  • debug-pointer
  • doxygen
  • filesystem
  • interconnect-fix
  • master
  • mmap
  • msvc2017
  • next
  • optional
  • testsuite-file-diff
  • tmp
  • tmp-fix
  • travis
  • travis-sanitizers
  • unicode

pending completion
308

push

travis-ci

mosra
Containers: get rid of defaultDeleter() template.

Because the function was templated and the Array code used a pointer to
it, this meant the function had to be emitted *somewhere*. This caused
all hell to break loose especially in case of plugins that returned
Array instances -- if the plugin was unloaded before all Array instances
returned from it were destructed, the deleter was suddenly a dangling
function pointer, causing crash on Array destruction.

Now `nullptr` is used instead of a pointer to `defaultDeleter()` -- if
`nullptr` is encountered, the standard `operator delete[]` is called,
without any potential function pointer dispatch.

In general, plugins should be forbidden to use custom deleters
completely, this just fixes the most common case where default deleter
is used.

2331 of 2482 relevant lines covered (93.92%)

174.48 hits per line

Relevant lines Covered
Build:
Build:
2482 RELEVANT LINES 2331 COVERED LINES
174.48 HITS PER LINE
Source Files on array-deleter-fix
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
308 array-deleter-fix Containers: get rid of defaultDeleter() template. Because the function was templated and the Array code used a pointer to it, this meant the function had to be emitted *somewhere*. This caused all hell to break loose especially in case of plugins... push 20 Aug 2016 09:29PM UTC mosra travis-ci pending completion  
See All Builds (468)
  • Repo on GitHub
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