[open-ils-commits] r8553 - trunk/Open-ILS/src/c-apps

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Jan 31 15:26:43 EST 2008


Author: miker
Date: 2008-01-31 14:59:04 -0500 (Thu, 31 Jan 2008)
New Revision: 8553

Modified:
   trunk/Open-ILS/src/c-apps/oils_auth.c
Log:
Patch from Scott McKellar to plug a small leak in open-ils.auth

Modified: trunk/Open-ILS/src/c-apps/oils_auth.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_auth.c	2008-01-31 19:55:57 UTC (rev 8552)
+++ trunk/Open-ILS/src/c-apps/oils_auth.c	2008-01-31 19:59:04 UTC (rev 8553)
@@ -172,6 +172,7 @@
 	char* seed = osrfCacheGetString( "%s%s", OILS_AUTH_CACHE_PRFX, uname ); /**/
 
 	if(!seed) {
+		free(realPassword);
 		return osrfAppRequestRespondException( ctx->session,
 			ctx->request, "No authentication seed found. "
 			"open-ils.auth.authenticate.init must be called first");



More information about the open-ils-commits mailing list