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
afb-ws: optimize buffer management
[src/app-framework-binder.git]
/
src
/
afb-hreq.c
diff --git
a/src/afb-hreq.c
b/src/afb-hreq.c
index
fe5af73
..
9c63091
100644
(file)
--- a/
src/afb-hreq.c
+++ b/
src/afb-hreq.c
@@
-33,12
+33,12
@@
#endif
#include "afb-method.h"
#endif
#include "afb-method.h"
-#include <afb/afb-req-
itf
.h>
+#include <afb/afb-req-
common
.h>
#include "afb-msg-json.h"
#include "afb-context.h"
#include "afb-hreq.h"
#include "afb-msg-json.h"
#include "afb-context.h"
#include "afb-hreq.h"
-#include "afb-subcall.h"
#include "afb-session.h"
#include "afb-session.h"
+#include "afb-cred.h"
#include "verbose.h"
#include "locale-root.h"
#include "verbose.h"
#include "locale-root.h"
@@
-319,6
+319,7
@@
static void req_destroy(struct afb_xreq *xreq)
json_object_put(hreq->json);
free((char*)hreq->xreq.api);
free((char*)hreq->xreq.verb);
json_object_put(hreq->json);
free((char*)hreq->xreq.api);
free((char*)hreq->xreq.verb);
+ afb_cred_unref(hreq->xreq.cred);
free(hreq);
}
free(hreq);
}