diff options
-rw-r--r-- | gio/gwin32appinfo.c | 2 | ||||
-rw-r--r-- | gio/gwin32registrykey.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gio/gwin32appinfo.c b/gio/gwin32appinfo.c index 9f335b370..2a0fe380d 100644 --- a/gio/gwin32appinfo.c +++ b/gio/gwin32appinfo.c @@ -472,7 +472,7 @@ g_wcsdup (const gunichar2 *str, gssize str_size) str_size = wcslen (str) + 1; str_size *= sizeof (gunichar2); } - return g_memdup (str, str_size); + return g_memdup2 (str, str_size); } #define URL_ASSOCIATIONS L"HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\Shell\\Associations\\UrlAssociations\\" diff --git a/gio/gwin32registrykey.c b/gio/gwin32registrykey.c index 619fd48af..1c5526315 100644 --- a/gio/gwin32registrykey.c +++ b/gio/gwin32registrykey.c @@ -136,7 +136,7 @@ g_wcsdup (const gunichar2 *str, str_size = wcslen (str) + 1; str_size *= sizeof (gunichar2); } - return g_memdup (str, str_size); + return g_memdup2 (str, str_size); } /** |