Skip to content

Commit 96ec0b6

Browse files
committed
content fuzzer: Clean up tempdir
Signed-off-by: AdamKorcz <[email protected]>
1 parent 61a46e9 commit 96ec0b6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

contrib/fuzz/content_fuzzer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ func FuzzCSWalk(data []byte) int {
105105
if err != nil {
106106
return 0
107107
}
108+
defer os.RemoveAll(tmpdir)
108109
cs, err := local.NewStore(tmpdir)
109110
if err != nil {
110111
return 0

0 commit comments

Comments
 (0)