* python/py-auto-load.c (source_section_scripts): Call xfree
instead of free.
This commit is contained in:
parent
0a00efc364
commit
d200ab1e84
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2011-12-10 Hui Zhu <teawater@gmail.com>
|
||||||
Yao Qi <yao@codesourcery.com>
|
Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
|
|
|
@ -314,7 +314,7 @@ Use `info auto-load-scripts [REGEXP]' to list them."),
|
||||||
if (! in_hash_table)
|
if (! in_hash_table)
|
||||||
source_python_script_for_objfile (objfile, full_path);
|
source_python_script_for_objfile (objfile, full_path);
|
||||||
fclose (stream);
|
fclose (stream);
|
||||||
free (full_path);
|
xfree (full_path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue