The talloc context needs to be initialzed or NULL. So move
talloc_steal() to the position where req is initialized.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Apr 11 15:59:39 CEST 2012 on sn-devel-104
uint32_t flags;
uint32_t last_hdr_offset;
- talloc_steal(req, p_req);
-
last_hdr_offset = p_req->in.hdr - p_req->in.buffer;
chain_offset = p_req->chain_offset;
return;
}
+ talloc_steal(req, p_req);
+
req->in.buffer = talloc_steal(req, p_req->in.buffer);
req->in.size = p_req->in.size;
req->request_time = p_req->request_time;