2011-03-06 Michael Snyder <msnyder@vmware.com>
* main.c (captured_main): Fix memory leak.
This commit is contained in:
parent
052874e8a4
commit
e6040cbdcd
|
@ -1,3 +1,7 @@
|
|||
2011-03-06 Michael Snyder <msnyder@vmware.com>
|
||||
|
||||
* main.c (captured_main): Fix memory leak.
|
||||
|
||||
2011-03-07 Andreas Schwab <schwab@linux-m68k.org>
|
||||
|
||||
* ada-lang.c (compare_names): Call is_name_suffix with string1
|
||||
|
|
|
@ -352,11 +352,14 @@ captured_main (void *data)
|
|||
GDB_DATADIR_RELOCATABLE);
|
||||
|
||||
#ifdef WITH_PYTHON_PATH
|
||||
{
|
||||
/* For later use in helping Python find itself. */
|
||||
python_libdir = relocate_directory (argv[0],
|
||||
concat (WITH_PYTHON_PATH,
|
||||
SLASH_STRING, "lib", NULL),
|
||||
char *tmp = concat (WITH_PYTHON_PATH, SLASH_STRING, "lib", NULL);
|
||||
|
||||
python_libdir = relocate_directory (argv[0], tmp,
|
||||
PYTHON_PATH_RELOCATABLE);
|
||||
xfree (tmp);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef RELOC_SRCDIR
|
||||
|
|
Loading…
Reference in New Issue