openstreetmap/osm2pgsql — pull request #237 by lonvia (2014-12-23 17:08:08+00:00)
Title: move middle_t::cleanup code into destructor

Fixes a whole bunch of leaking postgres connections. cleanup() wasn't called anywhere anymore.