diff options
author | Sami Wagiaalla <swagiaal@redhat.com> | 2010-09-24 14:47:53 +0000 |
---|---|---|
committer | Sami Wagiaalla <swagiaal@redhat.com> | 2010-09-24 14:47:53 +0000 |
commit | 2a7d6a257ff5db0136fef833d498644ea57bf285 (patch) | |
tree | 2ffe9df46aea3861bda7c0371a84e51c852b46b9 /gdb/valops.c | |
parent | e6ee044df39c93f2a1749061d45a11854dcee9f8 (diff) | |
download | gdb-2a7d6a257ff5db0136fef833d498644ea57bf285.zip gdb-2a7d6a257ff5db0136fef833d498644ea57bf285.tar.gz gdb-2a7d6a257ff5db0136fef833d498644ea57bf285.tar.bz2 |
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.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index bbbf66e..13c83ff 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -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; } } |