summaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/device.c b/src/device.c
index fdcc7ad..d899062 100644
--- a/src/device.c
+++ b/src/device.c
@@ -128,8 +128,6 @@ static int create_instance(device_t device, struct device_info *info)
extensions[i] = (char *)info->extensions[i];
}
- free((void *)info->extensions);
-
// we just added one more extension
create_info.enabledExtensionCount = info->ext_count+1;
create_info.ppEnabledExtensionNames = (const char * const *)extensions;