fix: close profile
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
parent
b693d137ed
commit
b82ced57f9
@ -26,6 +26,7 @@ func FuzzLoadDefaultProfile(data []byte) int {
|
||||
if err != nil {
|
||||
return 0
|
||||
}
|
||||
defer f.Close()
|
||||
defer os.Remove("fuzz_file")
|
||||
_, err = f.Write(data)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user