From f1b77140237f2f6e7f6b755b5a60ab212782456e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 6 Oct 2011 01:54:16 +0200 Subject: [PATCH] fix a double free / use after free --- device.c | 1 - 1 file changed, 1 deletion(-) diff --git a/device.c b/device.c index f856f22..ccf66d7 100644 --- a/device.c +++ b/device.c @@ -435,7 +435,6 @@ device_create(const char *name, const struct device_type *type, device_set_present(odev, false); device_set_present(odev, true); } - free(config); return odev; case DEV_CONFIG_NO_CHANGE: D(DEVICE, "Device '%s': no configuration change\n", odev->ifname); -- 2.25.1