From c94e1ef88adc641ebbab57377b97f8a7b6a70d1b Mon Sep 17 00:00:00 2001 From: José Bollo Date: Sun, 7 Aug 2016 08:05:07 +0200 Subject: fix tiny memory leak MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I8183da55b6afb0e2d3035ebe8cf371b181ec4257 Signed-off-by: José Bollo --- src/afb-api-ws.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/afb-api-ws.c b/src/afb-api-ws.c index 663170ee..b4c00dfe 100644 --- a/src/afb-api-ws.c +++ b/src/afb-api-ws.c @@ -797,6 +797,7 @@ static void api_ws_client_on_binary(void *closure, char *data, size_t size) break; } } + free(data); } /* on call, propagate it to the ws service */ -- cgit 1.2.3-korg