Fix documentation of git_branch_delete.

The reference should be freed by the user, not the library.
parent 0d77647a
......@@ -58,7 +58,8 @@ GIT_EXTERN(int) git_branch_create(
* Delete an existing branch reference.
*
* If the branch is successfully deleted, the passed reference
* object will be freed and invalidated.
* object will be invalidated. The reference must be freed manually
* by the user.
*
* @param branch A valid reference representing a branch
* @return 0 on success, or an error code.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment