[Tile-serving] [openstreetmap/osm2pgsql] autodestruct PGresult (#732)
Sarah Hoffmann
notifications at github.com
Sat Mar 25 21:42:42 UTC 2017
Wrap all instances of PGresult in a unique_ptr that automatically
calls PQclear on destruct to avoid accidental resource leaks.
Fixes #731.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/732
-- Commit Summary --
* autodestruct PGresult
-- File Changes --
M middle-pgsql.cpp (109)
M output-gazetteer.cpp (19)
M pgsql.cpp (45)
M pgsql.hpp (19)
M table.cpp (18)
M table.hpp (16)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/732.patch
https://github.com/openstreetmap/osm2pgsql/pull/732.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/732
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170325/506b83f9/attachment.html>
More information about the Tile-serving
mailing list