Fix leak in git_tag_create_from_buffer
If the tag already exists and we are not forcing overwrite we need to free ref_name buffer before return the "tag already exists" error.
Showing
Please
register
or
sign in
to comment
If the tag already exists and we are not forcing overwrite we need to free ref_name buffer before return the "tag already exists" error.