[Tile-serving] [osm2pgsql] move middle_t::cleanup code into destructor (#237)

Sarah Hoffmann notifications at github.com
Tue Dec 23 17:08:09 UTC 2014


Fixes a whole bunch of leaking postgres connections. cleanup() wasn't called anywhere anymore.
You can merge this Pull Request by running:

  git pull https://github.com/lonvia/osm2pgsql fix-middle-cleanup

Or you can view, comment on it, or merge it online at:

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

-- Commit Summary --

  * move middle_t::cleanup code into destructor

-- File Changes --

    M middle-pgsql.cpp (17)
    M middle-pgsql.hpp (1)
    M middle-ram.cpp (5)
    M middle-ram.hpp (1)
    M middle.hpp (1)

-- Patch Links --

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

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/237
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20141223/b61cc5c9/attachment.html>


More information about the Tile-serving mailing list