Steve Singer ssinger at ca.afilias.info
Tue Apr 25 05:14:50 PDT 2017
---
 src/slon/runtime_config.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/slon/runtime_config.c b/src/slon/runtime_config.c
index 8877f9d..a9b0739 100644
--- a/src/slon/runtime_config.c
+++ b/src/slon/runtime_config.c
@@ -784,7 +784,7 @@ void rtcfg_reloadSets(PGconn * db)
 	SlonSet    *set;
 	
 	rtcfg_lock();
-	
+	dstring_init(&query);	
 	/*
 	 * Read configuration table sl_set
 	 */
@@ -815,6 +815,7 @@ void rtcfg_reloadSets(PGconn * db)
 	}/*for tuple*/
 	PQclear(res);
 	rtcfg_unlock();
+	dstring_free(&query);
 }
 
 
-- 
2.1.4


--------------070506030002050801040709--


More information about the Slony1-hackers mailing list