dovecot-2.2-pigeonhole: lib-sieve/util: Fixed small memory leak ...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Sun Jan 5 12:16:36 EET 2014


details:   http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/bc0657f52394
changeset: 1839:bc0657f52394
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Sun Jan 05 11:15:45 2014 +0100
description:
lib-sieve/util: Fixed small memory leak in program client.

diffstat:

 src/lib-sieve/util/program-client-local.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r a9df92d2314a -r bc0657f52394 src/lib-sieve/util/program-client-local.c
--- a/src/lib-sieve/util/program-client-local.c	Sun Jan 05 10:40:38 2014 +0100
+++ b/src/lib-sieve/util/program-client-local.c	Sun Jan 05 11:15:45 2014 +0100
@@ -366,7 +366,7 @@
 	pool_t pool;
 
 	pool = pool_alloconly_create("program client local", 1024);
-	pclient = i_new(struct program_client_local, 1);
+	pclient = p_new(pool, struct program_client_local, 1);
 	program_client_init(&pclient->client, pool, bin_path, args, set);
 	pclient->client.connect = program_client_local_connect;
 	pclient->client.close_output = program_client_local_close_output;


More information about the dovecot-cvs mailing list