confile: cleanup clr_config_net_script_down()

parent 9e1608ec
......@@ -5384,10 +5384,9 @@ static int clr_config_net_script_down(const char *key,
struct lxc_netdev *netdev = data;
if (!netdev)
return -1;
return ret_errno(EINVAL);
free(netdev->downscript);
netdev->downscript = NULL;
free_disarm(netdev->downscript);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment