Commit 73c5db76 by Edward Thomson

Merge pull request #2834 from ethomson/memleak

checkout: free last created directory
parents a789b361 11888039
...@@ -2212,6 +2212,7 @@ static void checkout_data_clear(checkout_data *data) ...@@ -2212,6 +2212,7 @@ static void checkout_data_clear(checkout_data *data)
git__free(data->pfx); git__free(data->pfx);
data->pfx = NULL; data->pfx = NULL;
git_buf_free(&data->last_mkdir);
git_buf_free(&data->path); git_buf_free(&data->path);
git_buf_free(&data->tmp); git_buf_free(&data->tmp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment