On 8.08.2018 04:21, Steven Rostedt wrote:
+ + /* Create a Json array and fill the Id values into it. */ + jfilter_data = json_object_new_array(); + if (!jfilter_data)Hmm, can json_object_put() take a NULL pointer?
Yes, see here: https://github.com/json-c/json-c/blob/master/json_object.c#L185 Thanks! Yordan
![]() |