mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 18:20:58 +02:00
Prevent prevent file descriptor leak in ShrinkDebugFile()
This commit is contained in:
committed by
Wladimir J. van der Laan
parent
63888d43be
commit
6e34d9b12a
@ -1231,6 +1231,8 @@ void ShrinkDebugFile()
|
|||||||
fclose(file);
|
fclose(file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if(file != NULL)
|
||||||
|
fclose(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user