Commit 2326d014 authored by Milan Crha's avatar Milan Crha

Correct use-after-free in e_vcard_attribute_remove_param_value()

parent 6e033970
......@@ -2395,8 +2395,8 @@ e_vcard_attribute_remove_param_value (EVCardAttribute *attr,
param->values = g_list_delete_link (param->values, l);
g_free (l->data);
param->values = g_list_delete_link (param->values, l);
if (param->values == NULL) {
e_vcard_attribute_param_free (param);
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