Commit 9dff8ba6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Cosmetics

parent 3dff081e
...@@ -92,9 +92,8 @@ static inline info_t *info_category_VaAddInfo(info_category_t *cat, ...@@ -92,9 +92,8 @@ static inline info_t *info_category_VaAddInfo(info_category_t *cat,
if (!info) if (!info)
return NULL; return NULL;
INSERT_ELEM(cat->pp_infos, cat->i_infos, cat->i_infos, info); INSERT_ELEM(cat->pp_infos, cat->i_infos, cat->i_infos, info);
} else { } else
free(info->psz_value); free(info->psz_value);
}
if (vasprintf(&info->psz_value, format, args) == -1) if (vasprintf(&info->psz_value, format, args) == -1)
info->psz_value = NULL; info->psz_value = NULL;
return info; return info;
......
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