You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jansson use malloc ,but we use g_free to release the memory.
new glib use system malloc to alloc memory, so I think we need to update glib to avoid this problem. now I use glib-2.48.2.
The text was updated successfully, but these errors were encountered:
jansson use malloc ,but we use g_free to release the memory.
new glib use system malloc to alloc memory, so I think we need to update
glib to avoid this problem. now I use glib-2.48.2.
Good point, I hadn't thought about those. I guess they're the only occurrences where that may happen, though. I never experienced issues but it might be because on my Fedora glib has always been new "enough" (I have 2.44 right now). Probably the easiest way to avoid issues no matter the version is to simply use free instead of g_free for all the json_dumps we use.
jansson use malloc ,but we use g_free to release the memory.
new glib use system malloc to alloc memory, so I think we need to update glib to avoid this problem. now I use glib-2.48.2.
The text was updated successfully, but these errors were encountered: