X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fback-shell%2Fresult.c;h=571d3c9b8819dae60276a9f07a38d7966257bc1b;hb=f9d41ba98a8af4a4789edb9aeb033d70d4abc49c;hp=7248ef3484eefc935b7011c9ab542e9e6d712563;hpb=4af9eb971559e3a1f0432615e93ec870dc753ddb;p=openldap diff --git a/servers/slapd/back-shell/result.c b/servers/slapd/back-shell/result.c index 7248ef3484..571d3c9b88 100644 --- a/servers/slapd/back-shell/result.c +++ b/servers/slapd/back-shell/result.c @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2009 The OpenLDAP Foundation. + * Copyright 1998-2012 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -103,6 +103,7 @@ read_and_send_results( rs->sr_flags = REP_ENTRY_MODIFIABLE; send_search_entry( op, rs ); entry_free( rs->sr_entry ); + rs->sr_attrs = NULL; } bp = buf;