[Tile-serving] [osm2pgsql] fails to detect latest protobuf-c (#129)

edmonds notifications at github.com
Tue Jun 17 19:44:45 UTC 2014


We are probably going to remove the `protobuf_c_default_allocator` variable as well in the next `protobuf-c` release, its usage was just too confusing.

These four lines:

```
parse-pbf.c:239:  header_block__free_unpacked (hmsg, &protobuf_c_default_allocator);
parse-pbf.c:523:  primitive_block__free_unpacked (pmsg, &protobuf_c_default_allocator);
parse-pbf.c:588:    blob__free_unpacked (blob_msg, &protobuf_c_default_allocator);
parse-pbf.c:589:    block_header__free_unpacked (header_msg, &protobuf_c_default_allocator);
```

Should be updated to pass `NULL` instead of `&protobuf_c_default_allocator` for the second argument.

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


More information about the Tile-serving mailing list