mirror of
https://github.com/Livox-SDK/livox_ros_driver.git
synced 2023-04-06 15:49:55 +08:00
fix double free of global_pub_
This commit is contained in:
@@ -66,7 +66,7 @@ Lddc::~Lddc() {
|
||||
}
|
||||
|
||||
if (global_imu_pub_) {
|
||||
delete global_pub_;
|
||||
delete global_imu_pub_;
|
||||
}
|
||||
|
||||
if (lds_) {
|
||||
|
||||
Reference in New Issue
Block a user