]> Git Repo - binutils.git/blobdiff - gdb/python/py-utils.c
Remove more calls to xfree from Python
[binutils.git] / gdb / python / py-utils.c
index 2b4779097b21c07616a4d01bd5228531b1ce23c1..e0aedb5b58e4e84979dd6536153a37f8942be260 100644 (file)
@@ -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)
 {
This page took 0.024023 seconds and 4 git commands to generate.