statusengine / module

Repository of the Statusengine Event Broker Module
https://statusengine.org/broker/#overview
GNU General Public License v2.0
8 stars 4 forks source link

Fix valgrind duplicate free #7

Closed jabdr closed 4 years ago

jabdr commented 5 years ago

It makes sense, because json_object_put(my_object) already frees up the memory for all added objects.

nook24 commented 4 years ago

This is also required for json-c >= 0.13. https://github.com/json-c/json-c/blob/master/ChangeLog#L22