Fix bad memory access at client disconnection 03/21903/1
authorJosé Bollo <jose.bollo@iot.bzh>
Tue, 9 Jul 2019 22:06:36 +0000 (00:06 +0200)
committerJose Bollo <jose.bollo@iot.bzh>
Thu, 18 Jul 2019 13:42:27 +0000 (15:42 +0200)
commitad66a4685f5d50ef05338157c84a572088693ed3
treedad3d2aa8d11920735f49d368c9f9f7f3a5972d8
parent037157919df0a7ee90837037748a6456431e6469
Fix bad memory access at client disconnection

The management of structures handling a client
connection to a exported --ws-server was accessing
freed memory. Tha commit fixes that issue.

Bug-AGL: SPEC-2651

Change-Id: I511218afc907308347bc422a8aead32ca00bdae6
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
src/afb-api-ws.c
src/afb-proto-ws.c
src/afb-ws.c
src/afs-supervisor.c