mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Free the buffer returned by gpio_pin_list() after the use.
Reported by: Coverity Scan CID: 1257468
This commit is contained in:
parent
183dc9860a
commit
21bc384a0d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=276481
|
@ -159,6 +159,7 @@ dump_pins(gpio_handle_t handle, int verbose)
|
|||
}
|
||||
printf("\n");
|
||||
}
|
||||
free(cfgs);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue