Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Merge changes Id24d9bb0,I6807ed25
[src/app-framework-binder.git]
/
bindings
/
samples
/
hello3.c
diff --git
a/bindings/samples/hello3.c
b/bindings/samples/hello3.c
index
af19478
..
ff7da61
100644
(file)
--- a/
bindings/samples/hello3.c
+++ b/
bindings/samples/hello3.c
@@
-913,6
+913,7
@@
static void api (afb_req_t request)
}
sapi->api = afb_api_new_api(api, apiname, NULL, 1, apipreinit, NULL);
if (!sapi->api) {
+ free(sapi);
afb_req_reply_f(request, NULL, "cant-create", "%m");
goto end;
}