summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Rabinoff <jrabinoff6@math.gatech.edu>2018-12-06 10:48:20 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2019-01-18 23:01:37 +0000
commitac5879de88c606ba62fb0c490f2ba6712cfea457 (patch)
tree96c5dc80fe67f4d9e340ac6d232c3979f7ca66c2
parenta6ffb1cebd88b0bb4a9f48727dfe2c8b0c42d3e5 (diff)
downloadlibgit2-ac5879de88c606ba62fb0c490f2ba6712cfea457.tar.gz
Typesetting conventions
-rw-r--r--src/odb_loose.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/odb_loose.c b/src/odb_loose.c
index bba76062d..840efbe90 100644
--- a/src/odb_loose.c
+++ b/src/odb_loose.c
@@ -1028,15 +1028,15 @@ static int loose_backend__readstream(
done:
if (error < 0) {
- if(stream) {
- git_futils_mmap_free(&stream->map);
- git_zstream_free(&stream->zstream);
- git__free(stream);
- }
- if(hash_ctx) {
- git_hash_ctx_cleanup(hash_ctx);
- git__free(hash_ctx);
- }
+ if (stream) {
+ git_futils_mmap_free(&stream->map);
+ git_zstream_free(&stream->zstream);
+ git__free(stream);
+ }
+ if (hash_ctx) {
+ git_hash_ctx_cleanup(hash_ctx);
+ git__free(hash_ctx);
+ }
}
git_buf_free(&object_path);