Skip to content

Commit bda8e23

Browse files
committed
fix review comment
1 parent 9649bd1 commit bda8e23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ydb/library/yql/providers/generic/actors/yql_generic_lookup_actor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,11 @@ namespace NYql::NDq {
191191
void Handle(TEvError::TPtr ev) {
192192
auto actorSystem = TActivationContext::ActorSystem();
193193
auto error = ev->Get()->Error;
194-
auto errEv = new IDqComputeActorAsyncInput::TEvAsyncInputError(
194+
auto errEv = std::make_unique<IDqComputeActorAsyncInput::TEvAsyncInputError>(
195195
-1,
196196
NConnector::ErrorToIssues(error),
197197
NConnector::ErrorToDqStatus(error));
198-
actorSystem->Send(new NActors::IEventHandle(ParentId, SelfId(), errEv));
198+
actorSystem->Send(new NActors::IEventHandle(ParentId, SelfId(), errEv.release()));
199199
}
200200

201201
void Handle(NActors::TEvents::TEvPoison::TPtr) {

0 commit comments

Comments
 (0)