aboutsummaryrefslogtreecommitdiffstats
path: root/common/dynload.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/dynload.h')
-rw-r--r--common/dynload.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/dynload.h b/common/dynload.h
index e029b2b36..1d7966e60 100644
--- a/common/dynload.h
+++ b/common/dynload.h
@@ -46,7 +46,7 @@ dlopen (const char *name, int flag)
#ifdef HAVE_W32CE_SYSTEM
wchar_t *wname = utf8_to_wchar (name);
hd = wname? LoadLibrary (wname) : NULL;
- _jnlib_free (wname);
+ xfree (wname);
#else
hd = LoadLibrary (name);
#endif
@@ -62,7 +62,7 @@ dlsym (void *hd, const char *sym)
#ifdef HAVE_W32CE_SYSTEM
wchar_t *wsym = utf8_to_wchar (sym);
void *fnc = wsym? GetProcAddress (hd, wsym) : NULL;
- _jnlib_free (wsym);
+ xfree (wsym);
#else
void *fnc = GetProcAddress (hd, sym);
#endif