diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-06-06 22:55:34 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-06-06 22:55:34 +0200 |
commit | 231f350d91e71e3c171041a64f0d238888fad002 (patch) | |
tree | a2a20f8025f8a42a7471a9742212827cf0c09c2b /include/git2 | |
parent | d15445646440807a082feb54a1e92d54864137d1 (diff) | |
download | libgit2-231f350d91e71e3c171041a64f0d238888fad002.tar.gz |
remote: don't free the remote on deletecmn/remote-rename-more
This was a bad idea. Don't free except in the free function.
Diffstat (limited to 'include/git2')
-rw-r--r-- | include/git2/remote.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index 8d3744265..cba57c4f6 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -618,8 +618,6 @@ GIT_EXTERN(int) git_remote_is_valid_name(const char *remote_name); * All remote-tracking branches and configuration settings * for the remote will be removed. * -* once deleted, the passed remote object will be freed and invalidated. -* * @param remote A valid remote * @return 0 on success, or an error code. */ |