scality / Droplet

Cloud storage client library
http://www.scality.com
Other
54 stars 33 forks source link

[Posix] Leak from listbucket_attrs #184

Closed Joacchim closed 9 years ago

Joacchim commented 9 years ago

The codebase is not fully consistent in the way to manage memory ownership. This is what led to the leak observed: A subdict is given to dpl_dict_add(), and then it is not released, because the developer might have assumed that the dict would grab ownership of the given subdict.

Joacchim commented 9 years ago

Fix brought by pull request #187