Add a note not to free the result from git_remote_ls

This commit is contained in:
Carlos Martín Nieto 2011-11-22 11:17:03 +01:00
parent 391575638c
commit 6616e20750

View File

@ -100,7 +100,8 @@ GIT_EXTERN(int) git_remote_connect(struct git_remote *remote, int direction);
/** /**
* Get a list of refs at the remote * 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 refs where to store the refs
* @param remote the remote * @param remote the remote