Skip to content

Commit

Permalink
Fix trajectory info memory leak (#93)
Browse files Browse the repository at this point in the history
Signed-off-by: John Shepherd <john@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
  • Loading branch information
John Shepherd authored and mjcarroll committed Oct 19, 2020
1 parent e4d88b0 commit ea545b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions graphics/src/Animation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ TrajectoryInfo::TrajectoryInfo(TrajectoryInfo &&_trajInfo) noexcept
/////////////////////////////////////////////////
TrajectoryInfo::~TrajectoryInfo()
{
delete this->dataPtr;
}

//////////////////////////////////////////////////
Expand Down

0 comments on commit ea545b7

Please sign in to comment.