mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-07 15:28:12 +02:00
[script] Unref the correct element
Typo in previous commit. Should have unreffed the hash and not the function object.
This commit is contained in:
parent
fe2ec6ffbf
commit
e168de883e
1 changed files with 1 additions and 1 deletions
|
|
@ -308,7 +308,7 @@ static script_obj_t *script_evaluate_func (script_state_t *state,
|
|||
{
|
||||
script_obj_t *string_hash = script_obj_hash_peek_element (state->global, "String");
|
||||
func_obj = script_obj_hash_peek_element (string_hash, this_key_name);
|
||||
script_obj_unref (func_obj);
|
||||
script_obj_unref (string_hash);
|
||||
}
|
||||
|
||||
if (!func_obj)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue