diff options
author | Doug Evans <dje@google.com> | 2011-12-10 22:51:47 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2011-12-10 22:51:47 +0000 |
commit | d200ab1e845272eb0530126c281918b2ae86706c (patch) | |
tree | 17ef584679763a65da9cbf139b5cb113d56af205 /gdb/python/py-auto-load.c | |
parent | 0a00efc36491ba57434b7219394739a686f3e3d0 (diff) | |
download | gdb-d200ab1e845272eb0530126c281918b2ae86706c.zip gdb-d200ab1e845272eb0530126c281918b2ae86706c.tar.gz gdb-d200ab1e845272eb0530126c281918b2ae86706c.tar.bz2 |
* python/py-auto-load.c (source_section_scripts): Call xfree
instead of free.
Diffstat (limited to 'gdb/python/py-auto-load.c')
-rw-r--r-- | gdb/python/py-auto-load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-auto-load.c b/gdb/python/py-auto-load.c index 2a17ed0..62975ea 100644 --- 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); + xfree (full_path); } } } |