From: miker Date: Thu, 31 Jan 2008 19:59:04 +0000 (+0000) Subject: Patch from Scott McKellar to plug a small leak in open-ils.auth X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d14b428c8377f7ef856d0d2b6bcfb4e3a828d9dd;p=Evergreen.git 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 --- 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");