diff options
| -rw-r--r-- | common/system.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/system.h b/common/system.h index 30c2ea9d63..0b75d906ad 100644 --- a/common/system.h +++ b/common/system.h @@ -1541,8 +1541,8 @@ protected: * @param string The string that should be converted * @param length Size of the string in bytes * - * @return Converted string, which must be freed, or nullptr if the conversion - * isn't possible. + * @return Converted string, which must be freed by the caller (using free() + * and not delete[]), or nullptr if the conversion isn't possible. */ virtual char *convertEncoding(const char *to, const char *from, const char *string, size_t length) { return nullptr; } }; |
