From d936880392be82f298fcc7a5bd5d833b4958e2d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 5 Jul 2014 10:13:46 +0200 Subject: [PATCH] core: add note about result that must be freed in function string_mask_to_regex --- src/core/wee-string.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/wee-string.c b/src/core/wee-string.c index 119ac6fc3..13168b312 100644 --- a/src/core/wee-string.c +++ b/src/core/wee-string.c @@ -782,6 +782,8 @@ string_is_word_char (const char *string) /* * Converts a mask (string with only "*" as wildcard) to a regex, paying * attention to special chars in a regex. + * + * Note: result must be freed after use. */ char *