Set the right variable to NULL when unsetting ipv6_gateway
We were freeing one and setting a different one to NULL, eventually
leading to a crash when closing the netdev (at container shutdown)
and freeing already-freed memory.
Closes #732
Signed-off-by:
Serge Hallyn <serge.hallyn@ubuntu.com>
Showing
Please
register
or
sign in
to comment