diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-11-22 11:17:03 +0100 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-11-22 11:18:27 +0100 |
commit | 6616e207506d2c3ac287a3c5e631b3d442464bed (patch) | |
tree | 71ff8b097ffbf82acfc384736246ec947af92ba1 | |
parent | 391575638c61164eea5523ca7bb291d094b6f2d6 (diff) | |
download | libgit2-6616e207506d2c3ac287a3c5e631b3d442464bed.tar.gz |
Add a note not to free the result from git_remote_ls
-rw-r--r-- | include/git2/remote.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index 87f84f8e0..43bbe9e1c 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -100,7 +100,8 @@ GIT_EXTERN(int) git_remote_connect(struct git_remote *remote, int direction); /** * Get a list of refs at the remote * - * The remote (or more exactly its transport) must be connected. + * The remote (or more exactly its transport) must be connected. The + * memory belongs to the remote. * * @param refs where to store the refs * @param remote the remote |