projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2011-02-28 Michael Snyder <msnyder@vmware.com>
[deliverable/binutils-gdb.git]
/
gdb
/
python
/
py-cmd.c
diff --git
a/gdb/python/py-cmd.c
b/gdb/python/py-cmd.c
index 245d66a3fecf41c59c67ea6cd1a3138dc8260a57..c0e32914110228998ddc416589461342c2501332 100644
(file)
--- a/
gdb/python/py-cmd.c
+++ b/
gdb/python/py-cmd.c
@@
-481,7
+481,10
@@
cmdpy_init (PyObject *self, PyObject *args, PyObject *kw)
pfx_name[out] = '\0';
}
else if (cmp < 0)
+ {
+ xfree (cmd_name);
return -1;
+ }
}
if (PyObject_HasAttr (self, gdbpy_doc_cst))
{
This page took
0.08109 seconds
and
4
git commands to generate.