summaryrefslogtreecommitdiff
path: root/gio/gwin32appinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'gio/gwin32appinfo.c')
-rw-r--r--gio/gwin32appinfo.c2
1 files changed, 1 insertions, 1 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\\"