Skip to content

feature: provide a method of restoring allocated memory #4

Open

Description

@stephenmathieson

... seems pretty important :p

maybe something like:

json_free(json_value_t *)

or is the plan for json_destroy() to cleanup memory too?

this also needs to be implemented upstream (https://github.com/qute/qute/tree/wip/fix-memory-leaks)

Activity

  1. jwerle commented on Dec 23, 2014

    @jwerle
    Member

    json_destroy is meant to do that.. I justs forgot to put the call to free() back ;]

    See cf939af

  2. stephenmathieson commented on Dec 23, 2014

    @stephenmathieson
    Author

    haha okay makes sense.

    when the memory stuff makes it into qute, json_destroy() will need to cleanup the parser/lexer/etc. too

  3. jwerle commented on Dec 23, 2014

    @jwerle
    Member

    yep totally !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions