X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fback-shell%2Fresult.c;h=25ac11802137dcf5a47565ffc42e3bad02e686b0;hb=dac408369b0812762b3e85f7e024ea472ce79abc;hp=7248ef3484eefc935b7011c9ab542e9e6d712563;hpb=4af9eb971559e3a1f0432615e93ec870dc753ddb;p=openldap diff --git a/servers/slapd/back-shell/result.c b/servers/slapd/back-shell/result.c index 7248ef3484..25ac118021 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-2011 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;