Skip to content

Commit

Permalink
Better initialization of newMatrix in HybridBinarizer: #100
Browse files Browse the repository at this point in the history
  • Loading branch information
Spelt committed Aug 29, 2020
1 parent 19d1bf8 commit 289d2a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Lib/Classes/Filtering/ZXing.HybridBinarizer.pas
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ procedure THybridBinarizer.BinarizeEntireImage;
Exit;
end;

newMatrix := nil;
try

source := self.LuminanceSource;
Expand Down

0 comments on commit 289d2a6

Please sign in to comment.