From bd33fc86788281bde4a54b77a996c18d7940bd68 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 28 Dec 2006 10:32:46 +0000 Subject: [PATCH] fix filter structure leak (ITS#4794) --- servers/slapd/filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/filter.c b/servers/slapd/filter.c index fd163e19ac..3bd61e0a3c 100644 --- a/servers/slapd/filter.c +++ b/servers/slapd/filter.c @@ -1001,7 +1001,7 @@ get_simple_vrFilter( } if ( err == LDAP_SUCCESS ) { - *filt = ch_malloc( sizeof vrf ); + *filt = op->o_tmpalloc( sizeof vrf, op->o_tmpmemctx ); **filt = vrf; } -- 2.39.5