mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 01:52:06 +08:00
ubloxd free->delete, fixes #1742
old-commit-hash: 9e273eb2ec9830b4e2af82168e5f68da71c66761
This commit is contained in:
@@ -104,7 +104,7 @@ int ubloxd_main(poll_ubloxraw_msg_func poll_func, send_gps_event_func send_func)
|
||||
}
|
||||
bytes_consumed += bytes_consumed_this_time;
|
||||
}
|
||||
free(msg);
|
||||
delete msg;
|
||||
}
|
||||
|
||||
delete subscriber;
|
||||
|
||||
Reference in New Issue
Block a user