From ca6c0110fe17bd632ec1e45dc3eedf1116c6cd39 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 29 May 2017 00:57:39 +0200 Subject: [PATCH] Not sure why we are doing this, we shouldn't need to do this if we already memcpy this in --- dynamic.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/dynamic.c b/dynamic.c index 8f291b5b00..008e11b9f8 100644 --- a/dynamic.c +++ b/dynamic.c @@ -354,14 +354,6 @@ bool libretro_get_system_info(const char *path, memcpy(info, &dummy_info, sizeof(*info)); - if (!string_is_empty(dummy_info.library_name)) - info->library_name = strdup(dummy_info.library_name); - if (!string_is_empty(dummy_info.library_version)) - info->library_version = strdup(dummy_info.library_version); - - if (dummy_info.valid_extensions) - info->valid_extensions = strdup(dummy_info.valid_extensions); - #ifdef HAVE_DYNAMIC dylib_close(lib); #endif