Karthik Nayak <karthik.188@xxxxxxxxx> writes: > diff --git a/ref-filter.c b/ref-filter.c > index 099acd6..48b06e3 100644 > --- a/ref-filter.c > +++ b/ref-filter.c > @@ -1133,8 +1133,10 @@ static void populate_value(struct ref_array_item *ref) > char buf[40]; > > if (stat_tracking_info(branch, &num_ours, > - &num_theirs, NULL)) > + &num_theirs, NULL)) { > + v->s = xstrdup("[gone]"); I think just "[gone]" without the xstrdup is OK, and avoids leaking one string. -- Matthieu Moy http://www-verimag.imag.fr/~moy/ -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html