summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-07-05 10:13:46 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-07-05 10:13:46 +0200
commitd936880392be82f298fcc7a5bd5d833b4958e2d1 (patch)
tree4d83899ce90db807a2969fe85d5dbf4e031d7a7a /src/core
parente75fef58c4f9365b83a8b42036407cd4622bdbaf (diff)
downloadweechat-d936880392be82f298fcc7a5bd5d833b4958e2d1.zip
core: add note about result that must be freed in function string_mask_to_regex
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-string.c2
1 files changed, 2 insertions, 0 deletions
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 *