summaryrefslogtreecommitdiffstats
path: root/bindings/samples/hello3.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-07-08 18:58:00 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2018-07-08 21:27:48 +0200
commit298f6971156660067cc00cbcb01966791d30ea93 (patch)
tree87e0d61120ebd08f7d23debc114e30e0f74ea82f /bindings/samples/hello3.c
parent10ac2105ecc20251b13bdc6f6c78c3e2edb8dfef (diff)
hello3: Fix a bug
The request was released without any need. It came from migration from v2 to v3. Change-Id: If2558ca247f0db912ce5705fa1fd98f3771dcb1f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'bindings/samples/hello3.c')
-rw-r--r--bindings/samples/hello3.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bindings/samples/hello3.c b/bindings/samples/hello3.c
index b641b05a..f49b3365 100644
--- a/bindings/samples/hello3.c
+++ b/bindings/samples/hello3.c
@@ -175,7 +175,6 @@ static void subcallcb (void *prequest, int status, json_object *object, afb_req_
afb_req_fail(request, "failed", json_object_to_json_string(object));
else
afb_req_success(request, json_object_get(object), NULL);
- afb_req_unref(request);
}
static void subcall (afb_req_t request)