mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 08:16:06 +08:00
Fix memory leak in boardd.cc (#1321)
* fix memory leak
* dd
old-commit-hash: 9bcd5faa70
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