mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-23 18:26:47 +08:00
* python/py-cmd.c (cmdpy_init): Decref 'ds_obj'.
This commit is contained in:
@ -499,9 +499,12 @@ cmdpy_init (PyObject *self, PyObject *args, PyObject *kw)
|
||||
{
|
||||
xfree (cmd_name);
|
||||
xfree (pfx_name);
|
||||
Py_DECREF (ds_obj);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
Py_XDECREF (ds_obj);
|
||||
}
|
||||
if (! docstring)
|
||||
docstring = xstrdup (_("This command is not documented."));
|
||||
|
Reference in New Issue
Block a user