diff options
Diffstat (limited to 'src/attr.c')
| -rw-r--r-- | src/attr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/attr.c b/src/attr.c index fac2fa4b9..f984458d4 100644 --- a/src/attr.c +++ b/src/attr.c @@ -207,10 +207,8 @@ int git_attr_add_macro( if (error == GIT_SUCCESS) error = git_attr_cache__insert_macro(repo, macro); - if (error < GIT_SUCCESS) { + if (error < GIT_SUCCESS) git_attr_rule__free(macro); - git__free(macro); - } return error; } |
