afb-stub-ws: Fix concurrent memory issues 17/20017/1
authorJosé Bollo <jose.bollo@iot.bzh>
Fri, 8 Feb 2019 12:09:39 +0000 (13:09 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Fri, 8 Feb 2019 14:42:34 +0000 (15:42 +0100)
commit6415858bb8daa5f0c29392f18e7a230136916ec1
tree7c40aec82338192c33dfebe90436ad9f229a0656
parent043c27c3a8fd323d59e41288b6fd24f0e9bfa9a3
afb-stub-ws: Fix concurrent memory issues

This changes takes care to increment the
the count of reference before using it.

Bug-AGL: SPEC-2163

Change-Id: Ia7882427eeae933eeb5030aad025ebb1da129d6f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-stub-ws.c