mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
Merge pull request #2584 from laanwj/2013_04_shrinkdebugfile_leak
Prevent prevent file descriptor leak in ShrinkDebugFile()
This commit is contained in:
commit
85157ae018
@ -1231,6 +1231,8 @@ void ShrinkDebugFile()
|
||||
fclose(file);
|
||||
}
|
||||
}
|
||||
else if(file != NULL)
|
||||
fclose(file);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user