vendor/libgit2/src/patch.c in rugged-0.27.7 vs vendor/libgit2/src/patch.c in rugged-0.27.9
- old
+ new
@@ -82,10 +82,10 @@
&file_header, patch->delta, NULL, NULL, 0) < 0)
giterr_clear();
else
out += git_buf_len(&file_header);
- git_buf_dispose(&file_header);
+ git_buf_free(&file_header);
}
return out;
}