X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Ffilter.c;h=f7b6821482337d12bce556412bbb8b67c2cdd592;hb=e48f72c1b5a7ce571c7ced749aed473d20b32526;hp=fd163e19ac1bf8ad6d955678bb31ee7090a611fb;hpb=a2dc5dd494c26fc6800afa33f76db8f605652ad0;p=openldap diff --git a/servers/slapd/filter.c b/servers/slapd/filter.c index fd163e19ac..f7b6821482 100644 --- a/servers/slapd/filter.c +++ b/servers/slapd/filter.c @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2006 The OpenLDAP Foundation. + * Copyright 1998-2007 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -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; }