diff options
Diffstat (limited to 'branch.c')
-rw-r--r-- | branch.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -24,8 +24,7 @@ static int find_tracked_branch(struct remote *remote, void *priv) } else { free(tracking->spec.src); if (tracking->src) { - free(tracking->src); - tracking->src = NULL; + FREE_AND_NULL(tracking->src); } } tracking->spec.src = NULL; |