After a calling any wrapper of tevent_req_notify_callback(),
e.g. tevent_req_nterror(), tevent_req_done(), tevent_req_nomem(),
a function has to return immediately otherwise it is very likely to
crash.
metze
(similar to commit
17f1a97a614db4ed8292544988cb6a6cf56621d8)
error:
status = map_nt_error_from_unix(in->recv_errno);
nterror:
+ TALLOC_FREE(in);
/* in connected mode the first pending search gets the error */
if (!c->connected) {
/* otherwise we just ignore the error */
}
tevent_req_nterror(c->searches.list->req, status);
done:
- talloc_free(in);
+ TALLOC_FREE(in);
}
/*