Merge pull request #2834 from ethomson/memleak

checkout: free last created directory
This commit is contained in:
Edward Thomson 2015-01-22 19:00:16 -06:00
commit 73c5db7663

View File

@ -2212,6 +2212,7 @@ static void checkout_data_clear(checkout_data *data)
git__free(data->pfx);
data->pfx = NULL;
git_buf_free(&data->last_mkdir);
git_buf_free(&data->path);
git_buf_free(&data->tmp);