Skip to content

removed wrong usage of json_object_put#12

Merged
smartnode merged 1 commit intosmartnode:masterfrom
kasymovga:fixes
Apr 30, 2018
Merged

removed wrong usage of json_object_put#12
smartnode merged 1 commit intosmartnode:masterfrom
kasymovga:fixes

Conversation

@kasymovga
Copy link
Contributor

There is no need call json_object_put for children objects if its called for parent object.
Moreover this is cause application failure because of double free memory.

@smartnode smartnode merged commit d528216 into smartnode:master Apr 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants