Johannes Schindelin writes:
> There is really no reason why we would need to hold onto the allocated
> string longer than necessary.
Yup. The longer we make the duration between the allocation and the
standard release, the more likely future code would add early
There is really no reason why we would need to hold onto the allocated
string longer than necessary.
Reported by Coverity.
Signed-off-by: Johannes Schindelin
---
worktree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/worktree.c b/worktree.c
2 matches
Mail list logo