Skip to content

Commit

Permalink
Null edge pointer after delete
Browse files Browse the repository at this point in the history
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
  • Loading branch information
hidmic committed Apr 4, 2022
1 parent 1041a52 commit d65e03c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions slam_toolbox/lib/karto_sdk/src/Mapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3150,6 +3150,7 @@ namespace karto
edge->GetTarget()->GetObject()->GetUniqueId());
m_pGraph->RemoveEdge(edge);
delete edge;
edge = nullptr;
found = true;
}
}
Expand Down

0 comments on commit d65e03c

Please sign in to comment.