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:
a06a69b
)
enforce reset of xreq at init
author
José Bollo
<jose.bollo@iot.bzh>
Thu, 13 Apr 2017 12:49:51 +0000
(14:49 +0200)
committer
José Bollo
<jose.bollo@iot.bzh>
Thu, 13 Apr 2017 21:02:25 +0000
(23:02 +0200)
Change-Id: I37ff13a34c780ab00fb43e0a4daeda45db821c00
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-xreq.c
patch
|
blob
|
history
diff --git
a/src/afb-xreq.c
b/src/afb-xreq.c
index
4282f62
..
fecd2f9
100644
(file)
--- a/
src/afb-xreq.c
+++ b/
src/afb-xreq.c
@@
-491,6
+491,7
@@
void afb_xreq_begin(struct afb_xreq *xreq)
void afb_xreq_init(struct afb_xreq *xreq, const struct afb_xreq_query_itf *queryitf)
{
+ memset(xreq, 0, sizeof *xreq);
xreq->refcount = 1;
xreq->queryitf = queryitf;
}