mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 18:20:12 +08:00
* python/py-cmd.c (cmdpy_init): Decref 'ds_obj'.
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2013-05-20 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* python/py-cmd.c (cmdpy_init): Decref 'ds_obj'.
|
||||
|
||||
2013-05-20 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* python/py-event.h (gdbpy_initialize_event_generic): Use
|
||||
|
@ -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