summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValery Febvre <vfebvre at easter-eggs.com>2004-07-30 16:00:47 +0000
committerValery Febvre <vfebvre at easter-eggs.com>2004-07-30 16:00:47 +0000
commit514f62e39cf9b7ac6baf29fab2da8e8554d3952c (patch)
treed230282ad353c7a6e31ddb0d0d2fdfcf5493f99d
parent59c6cf97af8fd24d50d1bba610687d007ec19e3e (diff)
downloadlasso-514f62e39cf9b7ac6baf29fab2da8e8554d3952c.tar.gz
lasso-514f62e39cf9b7ac6baf29fab2da8e8554d3952c.tar.xz
lasso-514f62e39cf9b7ac6baf29fab2da8e8554d3952c.zip
lasso_profile_get_identity() and lasso_profile_get_session() should return copies
-rw-r--r--lasso/id-ff/profile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lasso/id-ff/profile.c b/lasso/id-ff/profile.c
index a3c2c304..71fbed06 100644
--- a/lasso/id-ff/profile.c
+++ b/lasso/id-ff/profile.c
@@ -166,13 +166,13 @@ lasso_profile_dump(LassoProfile *ctx,
LassoIdentity*
lasso_profile_get_identity(LassoProfile *ctx)
{
- return (ctx->identity);
+ return (lasso_identity_copy(ctx->identity));
}
LassoSession*
lasso_profile_get_session(LassoProfile *ctx)
{
- return (ctx->session);
+ return (lasso_session_copy(ctx->session));
}
gboolean