diff options
author | olavmrk <olavmrk@a716ebb1-153a-0410-b759-cfb97c6a1b53> | 2014-06-24 08:24:29 +0000 |
---|---|---|
committer | olavmrk <olavmrk@a716ebb1-153a-0410-b759-cfb97c6a1b53> | 2014-06-24 08:24:29 +0000 |
commit | d7c779cdbfbd8248b43ebc28469200679deaabf2 (patch) | |
tree | 1021075a73fac339f3bc2e9816fc85b7e31241ef /auth_mellon.h | |
parent | 519f22493ebed5bcb64f25066412a2894d7a372e (diff) | |
download | mod_auth_mellon-d7c779cdbfbd8248b43ebc28469200679deaabf2.tar.gz mod_auth_mellon-d7c779cdbfbd8248b43ebc28469200679deaabf2.tar.xz mod_auth_mellon-d7c779cdbfbd8248b43ebc28469200679deaabf2.zip |
Fix memory leak of loaded IdPs.
We free the first element of a linked list, but not the data nor the
subsequent elements. Fix that by first iterating through the list
freeing the elements and then freeing the list using g_list_free().
We could have used g_list_free_full, but that requires version 2.28
of GLib, which is still slightly too recent.
git-svn-id: https://modmellon.googlecode.com/svn/trunk@237 a716ebb1-153a-0410-b759-cfb97c6a1b53
Diffstat (limited to 'auth_mellon.h')
0 files changed, 0 insertions, 0 deletions