[PATCH] plug memory leak in diff.c::diff_free_filepair()
[gitweb.git] / pull.c
diff --git a/pull.c b/pull.c
index cf3ec7384160916c395e77d999cb7fe5ec16cea3..e7bf83bb035f7613d0cb57ca3254e24141608382 100644 (file)
--- a/pull.c
+++ b/pull.c
@@ -127,6 +127,7 @@ static int process(unsigned char *sha1, const char *type)
 {
        struct object *obj = lookup_object_type(sha1, type);
        if (has_sha1_file(sha1)) {
+               parse_object(sha1);
                /* We already have it, so we should scan it now. */
                return process_object(obj);
        }