oneway_merge(): only lstat() when told to update worktree
[gitweb.git] / test-svn-fe.c
index 332a5f711df8f3e3fea3305eb5ecb10de5581033..83633a21e586fd94015bd983b683ffc10b2c1963 100644 (file)
@@ -31,9 +31,7 @@ static int apply_delta(int argc, char *argv[])
                die_errno("cannot close preimage");
        if (buffer_deinit(&delta))
                die_errno("cannot close delta");
-       buffer_reset(&preimage);
        strbuf_release(&preimage_view.buf);
-       buffer_reset(&delta);
        return 0;
 }