You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@felixhandte , this is part of newly added contrib/diagnose_corruption/check_flipped_bits tool.
It's a minor issue easily fixed.
More interesting, consider employing the nested-resources programming pattern, where all resources are created first (including fopen()), then checked, then action takes place, then all resources are released (including fopen()). This allows the action to feature multiple exit statements without a risk to forget releasing one resource.
Stream is opened
zstd/contrib/diagnose_corruption/check_flipped_bits.c
Line 94 in 07ad866
Opened file never closed
zstd/contrib/diagnose_corruption/check_flipped_bits.c
Line 109 in 07ad866
The text was updated successfully, but these errors were encountered: