[Tile-serving] [osm2pgsql] Memory leaks of C++ version (Windows-only?) (#228)

alex85k notifications at github.com
Sat Dec 6 17:59:54 UTC 2014


@pnorman @apmon 
I was able to fix only the first leak by adding the destructor to ``struct flagsname`` in ``taginfo.cpp``
```
    ~flagsname() {  free(name);    }
```
but other ones are not easy to fix - more reoraganizing/C++-ing is needed (rather complex lifecycle of char* variables are used).

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/228#issuecomment-65907388
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20141206/568eed01/attachment.html>


More information about the Tile-serving mailing list