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
Hello, did you find a solution ?
The implementation seems very nice, however the key attribute will leak because we never have the possibility to free it. (Unless we keep it elsewhere).
See the main.c, it put the key into value struct, the pass &value.key to hashmap_put as key paramater,
you only need to free the value struct that you alloc previously.
How to recover keys and values to cleanup with memory free ?
The text was updated successfully, but these errors were encountered: