diff --git a/src/core/ffi.c b/src/core/ffi.c index 60f7e9dc..85a2c889 100644 --- a/src/core/ffi.c +++ b/src/core/ffi.c @@ -1183,9 +1183,7 @@ JANET_CORE_FN(janet_core_raw_native, "Returns a `core/native`.") { janet_arity(argc, 0, 1); const char *path = janet_optcstring(argv, argc, 0, NULL); - char *processed_name = (NULL == path) ? NULL : get_processed_name(path); - Clib lib = load_clib(processed_name); - if (NULL != path && path != processed_name) janet_free(processed_name); + Clib lib = load_clib(path); if (!lib) janet_panic(error_clib()); JanetAbstractNative *anative = janet_abstract(&janet_native_type, sizeof(JanetAbstractNative)); anative->clib = lib;