[Tile-serving] [openstreetmap/osm2pgsql] Fix memory leak in node cache (#1030)

Jochen Topf notifications at github.com
Sat Dec 14 20:37:42 UTC 2019


This fixes a memory leak in the node cache reported when compiling with clang sanitizers and running the tests. I am not sure though, whether this is a correct fix, because I don't understand all the code around it.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/1030

-- Commit Summary --

  * Fix memory leak in node cache

-- File Changes --

    M src/node-ram-cache.cpp (9)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1030.patch
https://github.com/openstreetmap/osm2pgsql/pull/1030.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1030
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20191214/bdef95c3/attachment.html>


More information about the Tile-serving mailing list