[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS shishi/lib
From: |
shishi-commit |
Subject: |
CVS shishi/lib |
Date: |
Thu, 23 Mar 2006 12:18:42 +0100 |
Update of /home/jas/self/public-cvs/shishi/lib
In directory latte:/home/jas/self/src/shishi/lib
Modified Files:
principal.c
Log Message:
Fix mem leak.
--- /home/jas/self/public-cvs/shishi/lib/principal.c 2006/03/23 10:40:05
1.46
+++ /home/jas/self/public-cvs/shishi/lib/principal.c 2006/03/23 11:18:34
1.47
@@ -450,15 +450,18 @@
if (!principal || !realm)
{
- if (principal)
- free (principal);
if (realm)
free (realm);
+ if (principal)
+ free (principal);
return SHISHI_INVALID_PRINCIPAL_NAME;
}
*salt = xasprintf ("%s%s", realm, principal);
+ free (realm);
+ free (principal);
+
return SHISHI_OK;
}
- CVS shishi/lib, shishi-commit, 2006/03/13
- CVS shishi/lib, shishi-commit, 2006/03/13
- CVS shishi/lib, shishi-commit, 2006/03/13
- CVS shishi/lib, shishi-commit, 2006/03/23
- CVS shishi/lib, shishi-commit, 2006/03/23
- CVS shishi/lib, shishi-commit, 2006/03/23
- CVS shishi/lib, shishi-commit, 2006/03/23
- CVS shishi/lib, shishi-commit, 2006/03/23
- CVS shishi/lib,
shishi-commit <=
- CVS shishi/lib, shishi-commit, 2006/03/27
- CVS shishi/lib, shishi-commit, 2006/03/27
- CVS shishi/lib, shishi-commit, 2006/03/27
- CVS shishi/lib, shishi-commit, 2006/03/27
- CVS shishi/lib, shishi-commit, 2006/03/27
- CVS shishi/lib, shishi-commit, 2006/03/27
- CVS shishi/lib, shishi-commit, 2006/03/30
- CVS shishi/lib, shishi-commit, 2006/03/30
- CVS shishi/lib, shishi-commit, 2006/03/30
- CVS shishi/lib, shishi-commit, 2006/03/30