summaryrefslogtreecommitdiff
path: root/src/transports/auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transports/auth.c')
-rw-r--r--src/transports/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transports/auth.c b/src/transports/auth.c
index 9597cc249..c8e6adb12 100644
--- a/src/transports/auth.c
+++ b/src/transports/auth.c
@@ -40,7 +40,7 @@ on_error:
if (raw.size)
git__memzero(raw.ptr, raw.size);
- git_buf_free(&raw);
+ git_buf_dispose(&raw);
return error;
}