diff options
Diffstat (limited to 'gdb/python/py-utils.c')
-rw-r--r-- | gdb/python/py-utils.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/python/py-utils.c b/gdb/python/py-utils.c index 2b47790..e0aedb5 100644 --- a/gdb/python/py-utils.c +++ b/gdb/python/py-utils.c @@ -62,9 +62,8 @@ python_string_to_unicode (PyObject *obj) /* Returns a newly allocated string with the contents of the given unicode string object converted to CHARSET. If an error occurs during the - conversion, NULL will be returned and a python exception will be set. - - The caller is responsible for xfree'ing the string. */ + conversion, NULL will be returned and a python exception will be + set. */ static gdb::unique_xmalloc_ptr<char> unicode_to_encoded_string (PyObject *unicode_str, const char *charset) { |