From 8fd7dd778ddc2aa157de6a3b307a9c2b3686fe7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Wed, 19 Nov 2014 15:49:47 +0100 Subject: [PATCH] remote: don't say we free the remote on disconnect On disconnect we simply ask the transport to close the connection, we do not free it. --- include/git2/remote.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/git2/remote.h b/include/git2/remote.h index d3157d9cc..4aabd94b6 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -343,8 +343,7 @@ GIT_EXTERN(void) git_remote_stop(git_remote *remote); /** * Disconnect from the remote * - * Close the connection to the remote and free the underlying - * transport. + * Close the connection to the remote. * * @param remote the remote to disconnect from */