Commit e06d2a6c authored by Jean-Paul Saman's avatar Jean-Paul Saman

dbus: cleanup

parent 99e9f2fa
......@@ -2211,6 +2211,7 @@ static int GetInputMeta( input_item_t* p_input,
{
const char *psz_name = p_input->pp_categories[i]->pp_infos[j]->psz_name;
const char *psz_value = p_input->pp_categories[i]->pp_infos[j]->psz_value;
char *psz_variant = NULL;
char *psz_entry = NULL;
......@@ -2230,10 +2231,10 @@ static int GetInputMeta( input_item_t* p_input,
dbus_message_iter_close_container( &dict_entry, &variant );
free( psz_variant );
}
}
free( psz_entry );
free( psz_entry );
dbus_message_iter_close_container( &dict, &dict_entry );
dbus_message_iter_close_container( &dict, &dict_entry );
}
}
}
......@@ -2254,6 +2255,7 @@ static int GetInputEsMeta( input_item_t * p_item, int32_t i_es,
{
const char *psz_name = p_item->pp_categories[i_es]->pp_infos[j]->psz_name;
const char *psz_value = p_item->pp_categories[i_es]->pp_infos[j]->psz_value;
char *psz_variant = NULL;
dbus_message_iter_open_container( &dict, DBUS_TYPE_DICT_ENTRY,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment