summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/remote.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/remote.c b/src/remote.c
index 153c93470..08f56cd51 100644
--- a/src/remote.c
+++ b/src/remote.c
@@ -692,6 +692,7 @@ static int dwim_refspecs(git_vector *refspecs, git_vector *refs)
spec->dwim = 1;
}
+ git_buf_free(&buf);
return 0;
}