ITS#7927 fix double-free of searchref

This commit is contained in:
Howard Chu 2014-08-26 19:17:33 +01:00
parent 8d346721a6
commit e5f5a4ab5f

View file

@ -1019,7 +1019,8 @@ notfound:
send_search_reference( op, rs );
mdb_entry_return( op, e );
if (e != base)
mdb_entry_return( op, e );
rs->sr_entry = NULL;
e = NULL;
@ -1184,7 +1185,7 @@ done:
rs->sr_v2ref = NULL;
}
if (base)
mdb_entry_return( op,base);
mdb_entry_return( op, base );
scope_chunk_ret( op, scopes );
return rs->sr_err;