commit 00eb6a1fb9f2f7f11d18494a994d3594d5f495ef from: Stefan Sperling date: Mon Jul 15 13:20:45 2019 UTC get rid of an inline implementation of got_object_qid_free() commit - f35c2426d4c58783c933a6e27f798cbe3ee25c9a commit + 00eb6a1fb9f2f7f11d18494a994d3594d5f495ef blob - 75a7a670ac1543d7b248a86780f3996aae0c413a blob + bbf328905eee14f84f5f38bd19931fccd02680ab --- lib/object_parse.c +++ lib/object_parse.c @@ -276,8 +276,7 @@ got_object_commit_add_parent(struct got_commit_object if (!got_parse_sha1_digest(qid->id->sha1, id_str)) { err = got_error(GOT_ERR_BAD_OBJ_DATA); - free(qid->id); - free(qid); + got_object_qid_free(qid); return err; }