mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 03:22:07 +08:00
Fix memory leak in boardd.cc (#1321)
* fix memory leak * dd old-commit-hash: 9bcd5faa70a868de5272b17c9bc3693bf89044d0
This commit is contained in:
@@ -104,6 +104,7 @@ void *safety_setter_thread(void *s) {
|
||||
usleep(100*1000);
|
||||
}
|
||||
LOGW("got CarVin %s", value_vin);
|
||||
free(value_vin);
|
||||
|
||||
// VIN query done, stop listening to OBDII
|
||||
pthread_mutex_lock(&usb_lock);
|
||||
|
||||
Reference in New Issue
Block a user