mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-30 21:34:42 +08:00
2011-02-28 Michael Snyder <msnyder@vmware.com>
* opencl-lang.c (lval_func_free_closure): Fix use-after-free.
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2011-02-28 Michael Snyder <msnyder@vmware.com>
|
||||
|
||||
* opencl-lang.c (lval_func_free_closure): Fix use-after-free.
|
||||
|
||||
2011-02-28 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* psymtab.c (expand_partial_symbol_tables): Use
|
||||
|
@ -348,9 +348,9 @@ lval_func_free_closure (struct value *v)
|
||||
|
||||
if (c->refc == 0)
|
||||
{
|
||||
value_free (c->val); /* Decrement the reference counter of the value. */
|
||||
xfree (c->indices);
|
||||
xfree (c);
|
||||
value_free (c->val); /* Decrement the reference counter of the value. */
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user