rauc/rauc-hawkbit-updater

json_root not released in hawkbit_pull_cb

hpatriarche opened this issue · 2 comments

in function static gboolean hawkbit_pull_cb(gpointer user_data)
JsonNode *json_root = json_parser_get_root(json_response_parser);
but it is not unref.

+g_object_unref(json_root);
g_object_unref(json_response_parser);

The documentation says the root node is owned by the parser, and you are not allowed to free it.

ok, then