aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-08-07 08:05:07 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-08-07 08:05:55 +0200
commitc94e1ef88adc641ebbab57377b97f8a7b6a70d1b (patch)
tree0ece5791467c6748eb61d7fa9a40d747a96eaf17
parentf841be6864963916cb5536c8bcb0c409ba0afdff (diff)
fix tiny memory leak
Change-Id: I8183da55b6afb0e2d3035ebe8cf371b181ec4257 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/afb-api-ws.c1
1 files changed, 1 insertions, 0 deletions
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 */