get rid of an inline implementation of got_object_qid_free()
diff --git a/lib/object_parse.c b/lib/object_parse.c
index 75a7a67..bbf3289 100644
--- a/lib/object_parse.c
+++ b/lib/object_parse.c
@@ -276,8 +276,7 @@ got_object_commit_add_parent(struct got_commit_object *commit,
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;
}