afb-stub-ws: Fix concurrent memory issues 21/20021/1 6.0.5 flounder/6.0.5 flounder_6.0.5
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 17:29:31 +0000 (18:29 +0100)
commitd9c73d75c7a8ab46dce9b716f695beea90e88a5d
treebd0c4d92a8142d802fbf5ec95b327ab31d39dff5
parent74f381d988cd04707c2044ca2a201ad8bf87a6f3
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