mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-17 21:03:55 +08:00
Fix find_oload_champ_namespace_loop memory leak.
2010-09-24 Sami Wagiaalla <swagiaal@redhat.com> * valops.c (find_oload_champ_namespace_loop): replace incorrect discard_cleanups do_cleanups.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2010-09-24 Sami Wagiaalla <swagiaal@redhat.com>
|
||||
|
||||
* valops.c (find_oload_champ_namespace_loop): replace incorrect
|
||||
discard_cleanups do_cleanups.
|
||||
|
||||
2010-09-24 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
PR gdb/11842
|
||||
|
@ -2760,7 +2760,7 @@ find_oload_champ_namespace_loop (struct type **arg_types, int nargs,
|
||||
*oload_syms = new_oload_syms;
|
||||
*oload_champ = new_oload_champ;
|
||||
*oload_champ_bv = new_oload_champ_bv;
|
||||
discard_cleanups (old_cleanups);
|
||||
do_cleanups (old_cleanups);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user