fix a leak in submodule error path
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | repository: make repo_clear() idempotentrepository.c | +2 | 5 replies | |
| 2/2 | submodule--helper: free URL when repository setup failsbuiltin/ t/ | +24 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] fix a leak in submodule error path
This fixes a small leak noticed by Coverity. I think it has been there for a while, but nearby code movement caused it to be marked as "new".
[1/2]: repository: make repo_clear() idempotent [2/2]: submodule--helper: free URL when repository setup fails
builtin/submodule--helper.c | 10 +++++++--- repository.c | 3 ++- t/t7426-submodule-get-default-remote.sh | 17 +++++++++++++++++ 3 files changed, 26 insertions(+), 4 deletions(-)
-Peff