Code Review
/
src
/
app-framework-binder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (parent:
ad9cee7
)
Fix don't close session on 'create again' error
author
José Bollo
<jose.bollo@iot.bzh>
Mon, 23 May 2016 07:33:48 +0000
(09:33 +0200)
committer
José Bollo
<jose.bollo@iot.bzh>
Mon, 23 May 2016 07:33:48 +0000
(09:33 +0200)
Change-Id: I3ea1f1d76ab111217c8a229da7443becde4ec9e6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-api-so.c
patch
|
blob
|
history
diff --git
a/src/afb-api-so.c
b/src/afb-api-so.c
index
a365294
..
320834f
100644
(file)
--- a/
src/afb-api-so.c
+++ b/
src/afb-api-so.c
@@
-109,7
+109,6
@@
static void call_check(struct afb_req req, struct afb_context *context, const st
if ((stag & AFB_SESSION_CREATE) != 0) {
if (afb_context_check_loa(context, 1)) {
if ((stag & AFB_SESSION_CREATE) != 0) {
if (afb_context_check_loa(context, 1)) {
- afb_context_close(context);
afb_req_fail(req, "failed", "invalid creation state");
return;
}
afb_req_fail(req, "failed", "invalid creation state");
return;
}