Re: [PATCH] gpio: free memory in error path

2015-11-09 Thread Gedare Bloom
I noticed while reading the code to install interrupts in GPIO that it does not clean-up in error case. There remains a similar problem in the "threaded" case as well that should be dealt with, and I'm filing a ticket for it. On Mon, Nov 9, 2015 at 1:33 PM, Gedare Bloom wrote: > --- > c/src/lib/

[PATCH] gpio: free memory in error path

2015-11-09 Thread Gedare Bloom
--- c/src/lib/libbsp/shared/gpio.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/c/src/lib/libbsp/shared/gpio.c b/c/src/lib/libbsp/shared/gpio.c index b806556..9ceeb407 100644 --- a/c/src/lib/libbsp/shared/gpio.c +++ b/c/src/lib/libbsp/shared/gpio.c @@ -1