aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/afb-ws-json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-ws-json.c b/src/afb-ws-json.c
index 4393d093..4bdda7ef 100644
--- a/src/afb-ws-json.c
+++ b/src/afb-ws-json.c
@@ -90,7 +90,7 @@ struct afb_ws_json *afb_ws_json_create(int fd, struct AFB_clientCtx *context, vo
return result;
error5:
- /* TODO */
+ afb_ws_destroy(result->ws);
error4:
json_tokener_free(result->tokener);
error3: