diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-01-01 18:10:47 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-01-01 18:10:47 +0100 |
commit | 943374f7898cd975a34bfa9df1ba7693be744ef0 (patch) | |
tree | fa8cafdd8afa1df8f40347f66bf29dff74059deb /src | |
parent | d413ccdf4fbab249084afa0b73393b947415d02c (diff) | |
download | weechat-943374f7898cd975a34bfa9df1ba7693be744ef0.zip |
doc: add note about call to "regfree" after call to "string_regcomp" (plugin API reference)
Diffstat (limited to 'src')
-rw-r--r-- | src/core/wee-string.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/wee-string.c b/src/core/wee-string.c index 9dbc2ce50..3dc565d5f 100644 --- a/src/core/wee-string.c +++ b/src/core/wee-string.c @@ -1300,6 +1300,8 @@ string_regex_flags (const char *regex, int default_flags, int *flags) * Returns: * 0: successful compilation * other value: compilation failed + * + * Note: regex must be freed with regfree after use. */ int |