diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-03-27 15:06:37 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-03-27 15:06:37 +0000 |
| commit | 4463c2ccc2b5d7abbc5241edf973ce4fccca9648 (patch) | |
| tree | ceb18d81aa249b09739bae69d52c15eaec471942 /lasso/id-ff/profile.c | |
| parent | 040431ebaa3a4616b09595f3cc96f070cdb54f58 (diff) | |
| download | lasso-4463c2ccc2b5d7abbc5241edf973ce4fccca9648.tar.gz lasso-4463c2ccc2b5d7abbc5241edf973ce4fccca9648.tar.xz lasso-4463c2ccc2b5d7abbc5241edf973ce4fccca9648.zip | |
ID-FF 1.2: Add trace in dispose for LassoProfile
* lasso/id-ff/profile.c: add tracing code activaged by
LASSO_FLAG=memory-debug to print release of field values.
Complement the existing code in generic deallocation procedure in
LassoNode.
Diffstat (limited to 'lasso/id-ff/profile.c')
| -rw-r--r-- | lasso/id-ff/profile.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lasso/id-ff/profile.c b/lasso/id-ff/profile.c index cbc52a01..650c29f7 100644 --- a/lasso/id-ff/profile.c +++ b/lasso/id-ff/profile.c @@ -43,6 +43,7 @@ #include <lasso/saml-2.0/profileprivate.h> #include "../utils.h" +#include "../debug.h" /*****************************************************************************/ /* public functions */ @@ -511,12 +512,16 @@ dispose(GObject *object) } profile->private_data->dispose_has_run = TRUE; + + lasso_mem_debug("LassoProfile", "Server", profile->server); lasso_server_destroy(profile->server); profile->server = NULL; + lasso_mem_debug("LassoProfile", "Identity", profile->identity); lasso_identity_destroy(profile->identity); profile->identity = NULL; + lasso_mem_debug("LassoProfile", "Session", profile->session); lasso_session_destroy(profile->session); profile->session = NULL; |
