Thomas Rast wrote:
> diff --git i/sha1_name.c w/sha1_name.c
> index 5ea16ff..a07558d 100644
> --- i/sha1_name.c
> +++ w/sha1_name.c
> @@ -538,7 +538,6 @@ static int get_sha1_basic(const char *str, int len, 
> unsigned char *sha1)
>                                         "back to %s.", len, str,
>                                         show_date(co_time, co_tz, 
> DATE_RFC2822));
>                         else {
> -                               free(real_ref);
>                                 die("Log for '%.*s' only has %d entries.",
>                                     len, str, co_cnt);
>                         }

Ah, good catch.  Thanks.

Sorry I didn't notice this while writing the patch.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to