Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node-v0.x-archive
base: f9456a2d3657
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: 8c868989be77
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Dec 4, 2014

  1. zlib: do not Unref() if wasn't Ref()ed

    In very unlikely case, where `deflateInit2()` may return error (right
    now happening only on exhausting all memory), the `ZCtx::Error()` will
    be called and will try to `Unref()` the handle. But the problem is that
    this handle was never `Ref()`ed, so it will trigger an assertion error
    and crash the program.
    
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    PR-URL: #8687
    indutny committed Dec 4, 2014
    Copy the full SHA
    8c86898 View commit details
    Browse the repository at this point in the history