summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-11-19 15:49:47 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2014-11-19 15:49:47 +0100
commit8fd7dd778ddc2aa157de6a3b307a9c2b3686fe7a (patch)
tree08db2ea032eb9766285f4b6fa547d9921719ddd2
parent699dfcc3bcd4494a1532bf608aa0d84022c58dbf (diff)
downloadlibgit2-cmn/remote-ls.tar.gz
remote: don't say we free the remote on disconnectcmn/remote-ls
On disconnect we simply ask the transport to close the connection, we do not free it.
-rw-r--r--include/git2/remote.h3
1 files changed, 1 insertions, 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
*/