Wed Dec 6 01:37:29 PST 2006
- Previous message: [Slony1-commit] By xfade: Fix minor leak in get_earliest_xid.
- Next message: [Slony1-commit] By xfade: Fix minor leaks in slon_connectdb and db_get_version.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message: ----------- Fix minor leak in get_earliest_xid. Tags: ---- REL_1_2_STABLE Modified Files: -------------- slony1-engine/src/slon: cleanup_thread.c (r1.33.2.2 -> r1.33.2.3) -------------- next part -------------- Index: cleanup_thread.c =================================================================== RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/cleanup_thread.c,v retrieving revision 1.33.2.2 retrieving revision 1.33.2.3 diff -Lsrc/slon/cleanup_thread.c -Lsrc/slon/cleanup_thread.c -u -w -r1.33.2.2 -r1.33.2.3 --- src/slon/cleanup_thread.c +++ src/slon/cleanup_thread.c @@ -417,6 +417,8 @@ } xid = strtoll(PQgetvalue(res, 0, 0), NULL, 10); slon_log(SLON_DEBUG3, "cleanupThread: minxid: %d\n", xid); + PQclear(res); + dstring_free(&query1); return (unsigned long)xid; }
- Previous message: [Slony1-commit] By xfade: Fix minor leak in get_earliest_xid.
- Next message: [Slony1-commit] By xfade: Fix minor leaks in slon_connectdb and db_get_version.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list