From 6616e207506d2c3ac287a3c5e631b3d442464bed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Tue, 22 Nov 2011 11:17:03 +0100 Subject: Add a note not to free the result from git_remote_ls --- include/git2/remote.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1