Skip to content

Commit

Permalink
Merge pull request #50 from kmiya/master
Browse files Browse the repository at this point in the history
Fix double free of global_pub_
  • Loading branch information
Livox-SDK authored Sep 11, 2020
2 parents eec4daa + 5b37ab7 commit 2c68829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion livox_ros_driver/livox_ros_driver/lddc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Lddc::~Lddc() {
}

if (global_imu_pub_) {
delete global_pub_;
delete global_imu_pub_;
}

if (lds_) {
Expand Down

0 comments on commit 2c68829

Please sign in to comment.