[systemd-devel] Leak mempool/hashmap

2014-11-06 Thread Jan Janssen
Hi, I just noticed that mempool/hashmap leaks memory. It's as simple as this to trigger: #include hashmap.h int main(int argc, const char *argv[]) { Hashmap *m = hashmap_new(string_hash_ops); hashmap_free(m); } ___ systemd-devel

Re: [systemd-devel] Leak mempool/hashmap

2014-11-06 Thread Lennart Poettering
On Thu, 06.11.14 18:36, Jan Janssen (medhe...@web.de) wrote: Hi, I just noticed that mempool/hashmap leaks memory. It's as simple as this to trigger: #include hashmap.h int main(int argc, const char *argv[]) { Hashmap *m = hashmap_new(string_hash_ops); hashmap_free(m);

Re: [systemd-devel] Leak mempool/hashmap

2014-11-06 Thread Jan Janssen
On 2014-11-06 19:05, Lennart Poettering wrote: On Thu, 06.11.14 18:36, Jan Janssen (medhe...@web.de) wrote: Hi, I just noticed that mempool/hashmap leaks memory. It's as simple as this to trigger: #include hashmap.h int main(int argc, const char *argv[]) { Hashmap *m =

Re: [systemd-devel] Leak mempool/hashmap

2014-11-06 Thread Ronny Chevalier
2014-11-06 19:59 GMT+01:00 Jan Janssen medhe...@web.de: Hi, On 2014-11-06 19:05, Lennart Poettering wrote: On Thu, 06.11.14 18:36, Jan Janssen (medhe...@web.de) wrote: Hi, I just noticed that mempool/hashmap leaks memory. It's as simple as this to trigger: #include hashmap.h int