OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47a3353
)
* python/py-auto-load.c (source_section_scripts): Call xfree
author
devans
<devans>
Sat, 10 Dec 2011 22:51:46 +0000
(22:51 +0000)
committer
devans
<devans>
Sat, 10 Dec 2011 22:51:46 +0000
(22:51 +0000)
instead of free.
gdb/ChangeLog
patch
|
blob
|
history
gdb/python/py-auto-load.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index
13998f5
..
d96e3ae
100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,3
+1,8
@@
+2011-12-10 Doug Evans <dje@google.com>
+
+ * python/py-auto-load.c (source_section_scripts): Call xfree
+ instead of free.
+
2011-12-10 Hui Zhu <teawater@gmail.com>
Yao Qi <yao@codesourcery.com>
diff --git
a/gdb/python/py-auto-load.c
b/gdb/python/py-auto-load.c
index
2a17ed0
..
62975ea
100644
(file)
--- a/
gdb/python/py-auto-load.c
+++ b/
gdb/python/py-auto-load.c
@@
-314,7
+314,7
@@
Use `info auto-load-scripts [REGEXP]' to list them."),
if (! in_hash_table)
source_python_script_for_objfile (objfile, full_path);
fclose (stream);
- free (full_path);
+
x
free (full_path);
}
}
}