Commit 1188803922ded3a4dded62ae2fac0f3300f6bdd9

Edward Thomson 2015-01-23T00:18:42

checkout: free last created directory

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/checkout.c b/src/checkout.c
index 73750f7..52a076d 100644
--- a/src/checkout.c
+++ b/src/checkout.c
@@ -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);