I'll add json_decref(j_object); This will de-reference objects that are being referenced by Jansson.