#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-subcall.h"
#include "afb-session.h"
+#include "afb-cred.h"
#include "verbose.h"
#include "locale-root.h"
json_object_put(hreq->json);
free((char*)hreq->xreq.api);
free((char*)hreq->xreq.verb);
+ afb_cred_unref(hreq->xreq.cred);
free(hreq);
}