[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS gsasl/lib/src
From: |
gsasl-commit |
Subject: |
CVS gsasl/lib/src |
Date: |
Sat, 18 Sep 2004 18:06:03 +0200 |
Update of /home/cvs/gsasl/lib/src
In directory dopio:/tmp/cvs-serv30894
Modified Files:
xfinish.c
Log Message:
Handle NULL finish plugin method.
Fix mem leak.
--- /home/cvs/gsasl/lib/src/xfinish.c 2004/09/18 00:58:36 1.3
+++ /home/cvs/gsasl/lib/src/xfinish.c 2004/09/18 16:06:02 1.4
@@ -32,13 +32,26 @@
gsasl_finish (Gsasl_session * sctx)
{
if (sctx->clientp)
- sctx->mech->client.finish (sctx, sctx->mech_data);
+ {
+ if (sctx->mech->client.finish)
+ sctx->mech->client.finish (sctx, sctx->mech_data);
+ }
else
- sctx->mech->server.finish (sctx, sctx->mech_data);
+ {
+ if (sctx->mech->client.finish)
+ sctx->mech->server.finish (sctx, sctx->mech_data);
+ }
+
/* XXX return value? */
if (sctx->anonymous_token)
free (sctx->anonymous_token);
+ if (sctx->authid)
+ free (sctx->authid);
+ if (sctx->authzid)
+ free (sctx->authzid);
+ if (sctx->password)
+ free (sctx->password);
free (sctx);
}
- CVS gsasl/lib/src, (continued)
- CVS gsasl/lib/src, gsasl-commit, 2004/09/17
- CVS gsasl/lib/src, gsasl-commit, 2004/09/17
- CVS gsasl/lib/src, gsasl-commit, 2004/09/17
- CVS gsasl/lib/src, gsasl-commit, 2004/09/17
- CVS gsasl/lib/src, gsasl-commit, 2004/09/17
- CVS gsasl/lib/src, gsasl-commit, 2004/09/17
- CVS gsasl/lib/src, gsasl-commit, 2004/09/17
- CVS gsasl/lib/src, gsasl-commit, 2004/09/17
- CVS gsasl/lib/src, gsasl-commit, 2004/09/17
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src,
gsasl-commit <=
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18