Hi,
On 05/11/2021 17:20, Gert Doering wrote:
Hi,
On Fri, Nov 05, 2021 at 05:13:02PM +0100, Arne Schwabe wrote:
+static void uninit_early(struct context *c)
+{
+ net_ctx_free(&c->net_ctx);
+}
The extra "&" here does not look right. Shouldn't this be
"c->net_ctx" as in "init_early()"?
it's the other way around.
"init_early()" should also use the "&" operator.
We need to pass a pointer to the networking context, but the member is a
real object.
(Check the code being removed for reference).
Regards,
--
Antonio Quartulli
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel