Commit 8fb5e4039ec83f321daf59b00840fba53c797da3

Ben Straub 2012-07-10T08:58:40

Plug leak.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/checkout.c b/src/checkout.c
index 67c9a52..58ae7f2 100644
--- a/src/checkout.c
+++ b/src/checkout.c
@@ -102,6 +102,7 @@ static int blob_contents_to_file(git_repository *repo, git_buf *fnbuf, const git
 				}
 			}
 			git_buf_free(&filteredblob);
+			git_filters_free(&filters);
 		}
 
 		git_blob_free(blob);