Free the buffer returned by gpio_pin_list() after the use.

Reported by:	Coverity Scan
CID:		1257468
This commit is contained in:
Luiz Otavio O Souza 2014-12-31 21:58:03 +00:00
parent 183dc9860a
commit 21bc384a0d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=276481

View file

@ -159,6 +159,7 @@ dump_pins(gpio_handle_t handle, int verbose)
}
printf("\n");
}
free(cfgs);
}
static void