Problem: memory leak in fill_assert_error
Solution: Free the variables (Huihui Huang).
fixes: #19502
closes: #19507
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Huihui Huang <625173@qq.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
exp_tv->vval.v_dict = dict_alloc();
got_tv->vval.v_dict = dict_alloc();
if (exp_tv->vval.v_dict == NULL || got_tv->vval.v_dict == NULL)
+ {
+ dict_unref(exp_tv->vval.v_dict);
+ exp_tv->vval.v_dict = NULL;
+ dict_unref(got_tv->vval.v_dict);
+ got_tv->vval.v_dict = NULL;
return;
+ }
todo = (int)exp_d->dv_hashtab.ht_used;
FOR_ALL_HASHTAB_ITEMS(&exp_d->dv_hashtab, hi, todo)
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 59,
/**/
58,
/**/