* python/py-auto-load.c (source_section_scripts): Call xfree

instead of free.
This commit is contained in:
Doug Evans 2011-12-10 22:51:47 +00:00
parent 0a00efc364
commit d200ab1e84
2 changed files with 6 additions and 1 deletions

View File

@ -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>

View File

@ -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);
}
}
}