From 21581ede2de0280ab8c1738d9edf4476824821a2 Mon Sep 17 00:00:00 2001 From: miker Date: Mon, 10 Mar 2008 03:53:04 +0000 Subject: [PATCH] Patch from Scott McKellar: This patch plugs a memory leak in osrfSystemBootstrapClientResc(). We were leaking log_file in the case of an early return. git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1272 9efc2488-bf62-4759-914b-345cdb29e865 --- src/libopensrf/osrf_system.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libopensrf/osrf_system.c b/src/libopensrf/osrf_system.c index cd7553e..136558f 100644 --- a/src/libopensrf/osrf_system.c +++ b/src/libopensrf/osrf_system.c @@ -393,6 +393,7 @@ int osrfSystemBootstrapClientResc( char* config_file, char* contextnode, char* r if (failure) { osrfStringArrayFree(arr); + free(log_file); free(log_level); free(username); free(password); -- 2.11.0