2011-03-05 Michael Snyder <msnyder@vmware.com>
* mi/mi-cmd-env.c (_initialize_mi_cmd_env): Free environment.
This commit is contained in:
parent
69feea6fe7
commit
0350914acf
2 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
2011-03-06 Michael Snyder <msnyder@vmware.com>
|
||||
|
||||
* mi/mi-cmd-env.c (_initialize_mi_cmd_env): Free environment.
|
||||
|
||||
* elfread.c (elf_symtab_read): Stop memory leak.
|
||||
|
||||
* main.c (captured_main): Fix memory leak.
|
||||
|
|
|
@ -279,4 +279,5 @@ _initialize_mi_cmd_env (void)
|
|||
if (!env)
|
||||
env = "";
|
||||
orig_path = xstrdup (env);
|
||||
free_environ (environment);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue