Commit 8fd7dd778ddc2aa157de6a3b307a9c2b3686fe7a

Carlos Martín Nieto 2014-11-19T15:49:47

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.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/include/git2/remote.h b/include/git2/remote.h
index d3157d9..4aabd94 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
  */