[CLEANUP] move http_txn out of session.h
The http_txn structure definitions moved to proto_http.h
diff --git a/src/session.c b/src/session.c
index 523a96a..3ea4b92 100644
--- a/src/session.c
+++ b/src/session.c
@@ -62,12 +62,12 @@
pool_free_to(s->fe->fiprm->req_cap_pool, txn->req.cap);
}
- if (s->logs.uri)
- pool_free(requri, s->logs.uri);
- if (s->logs.cli_cookie)
- pool_free(capture, s->logs.cli_cookie);
- if (s->logs.srv_cookie)
- pool_free(capture, s->logs.srv_cookie);
+ if (txn->uri)
+ pool_free(requri, txn->uri);
+ if (txn->cli_cookie)
+ pool_free(capture, txn->cli_cookie);
+ if (txn->srv_cookie)
+ pool_free(capture, txn->srv_cookie);
pool_free(session, s);
}