diff options
Diffstat (limited to 'src/core/misc.c')
-rw-r--r-- | src/core/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/misc.c b/src/core/misc.c index 28aaae84..516c6dc3 100644 --- a/src/core/misc.c +++ b/src/core/misc.c @@ -377,7 +377,7 @@ int match_wildcards(const char *cmask, const char *data) char *mask, *newmask, *p1, *p2; int ret; - newmask = mask = strdup(cmask); + newmask = mask = g_strdup(cmask); for (; *mask != '\0' && *data != '\0'; mask++) { if (*mask == '?' || toupper(*mask) == toupper(*data)) { data++; |