afb-stub-ws: Fix concurrent memory issues 05/20005/1 7.0.0 guppy/7.0.0 guppy_7.0.0
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:15:25 +0000 (15:15 +0100)
commit0e5cddffc8222d504ef1fcc9a75581688fc48928
treebc2fcdde89f97082c2b634a429130f38169d301b
parent8b58a16a65f618fa0ca4f7707badc55649bc7f12
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