mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-05 23:43:58 -04:00
AP_HAL_Linux: fix leaking strings
This commit is contained in:
parent
3b022c837d
commit
c1647b13eb
@ -46,8 +46,10 @@ PWM_Sysfs_Base::~PWM_Sysfs_Base()
|
||||
{
|
||||
::close(_duty_cycle_fd);
|
||||
|
||||
free(_export_path);
|
||||
free(_polarity_path);
|
||||
free(_enable_path);
|
||||
free(_duty_path);
|
||||
free(_period_path);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user