commit 55569948434c65bb416f2d0f2a400a1bf3da5a78 from: Christian Weisgerber date: Fri Nov 29 20:46:48 2024 UTC fix pointer indirection level ok tb@ commit - d2752c62796d1ed1a7d9c3a39558e7d66a57f8e4 commit + 55569948434c65bb416f2d0f2a400a1bf3da5a78 blob - d6fcc31ded7e98bfd09f6f92081aa5e857628837 blob + 7c67b8bd27d8f0b14c6c6ab064426ba9ca064259 --- lib/fetch.c +++ lib/fetch.c @@ -171,7 +171,7 @@ got_fetch_pack(struct got_object_id **pack_hash, struc TAILQ_FOREACH(re, &my_refs, entry) { struct got_object_id *id; - const char *refname; + char *refname; if (got_ref_is_symbolic(re->ref)) continue; @@ -188,7 +188,7 @@ got_fetch_pack(struct got_object_id **pack_hash, struc if (err) goto done; if (new == NULL){ - free(&refname); + free(refname); free(id); }