pgpool2.git / summary / log / commit / refs

commit    de5279aa8b180fc96ccd441ae964dea59efed1dc
Author:   Yoshiyuki Asaba <y-asaba at pgfoundry.org>
Date:     Mon Jun 18 02:40:29 2007 +0000

    Fix memory leak in NotificationResponse().


pool_process_query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pool_process_query.c b/pool_process_query.c index 693dd6375..633ffaf6b 100644 --- a/pool_process_query.c +++ b/pool_process_query.c @@ -2104,7 +2104,7 @@ static POOL_STATUS NotificationResponse(POOL_CONNECTION *frontend, pool_write(frontend, &pid1, sizeof(pid1)); status = pool_write_and_flush(frontend, condition1, len1); - free(condition); + free(condition1); return status; } [parent: 5bf8cd803184]