From d14b428c8377f7ef856d0d2b6bcfb4e3a828d9dd Mon Sep 17 00:00:00 2001 From: miker Date: Thu, 31 Jan 2008 19:59:04 +0000 Subject: [PATCH] Patch from Scott McKellar to plug a small leak in open-ils.auth git-svn-id: svn://svn.open-ils.org/ILS/trunk@8553 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/c-apps/oils_auth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/src/c-apps/oils_auth.c b/Open-ILS/src/c-apps/oils_auth.c index 07e71ad169..8c4321d4c7 100644 --- a/Open-ILS/src/c-apps/oils_auth.c +++ b/Open-ILS/src/c-apps/oils_auth.c @@ -172,6 +172,7 @@ static int oilsAuthVerifyPassword( const osrfMethodContext* ctx, 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"); -- 2.43.2