sha1-array: convert internal storage for struct sha1_array to object_id
[git/git.git] / remote-curl.c
index 34a97e7..5e712e4 100644 (file)
@@ -230,7 +230,7 @@ static void free_discovery(struct discovery *d)
        if (d) {
                if (d == last_discovery)
                        last_discovery = NULL;
-               free(d->shallow.sha1);
+               free(d->shallow.oid);
                free(d->buf_alloc);
                free_refs(d->refs);
                free(d);