Commit Diff


commit - 7d049c1829b4f9b4a2bcda7143ffbb922b0987cc
commit + d0275cf721b0a74c20c210cf04b585c770e55109
blob - ba63ad853919fff5d18e5c571083a54b36b6cc62
blob + 6f7839e4fcde379b6c902d40811dad5dc37c22ab
--- lib/blame.c
+++ lib/blame.c
@@ -109,7 +109,7 @@ blame_commit(struct got_blame *blame, struct got_objec
     void *arg)
 {
 	const struct got_error *err = NULL;
-	struct got_object *obj = NULL, *pobj = NULL;
+	struct got_object *obj = NULL;
 	struct got_object_id *obj_id = NULL;
 	struct got_commit_object *commit = NULL;
 	struct got_blob_object *blob = NULL;
@@ -160,8 +160,6 @@ done:
 	free(obj_id);
 	if (obj)
 		got_object_close(obj);
-	if (pobj)
-		got_object_close(pobj);
 	if (blob)
 		got_object_blob_close(blob);
 	return err;