afb-stub-ws: Fix concurrent memory issues
authorJosé Bollo <jose.bollo@iot.bzh>
Fri, 8 Feb 2019 12:09:39 +0000 (13:09 +0100)
committerLoïc Collignon <loic.collignon@iot.bzh>
Wed, 27 Feb 2019 16:54:25 +0000 (17:54 +0100)
commit786c7319f59895824e4049ca6915ecfc045f5eee
tree97e82525c18b30e1cea116781815b609a6eb4c0a
parent16dcd58f2beb3f7e65a70cbc8e05aef74c8e437e
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