Skip to content

Memory leak in TOneDReader.decode when hints contains ZXing.DecodeHintType.TRY_HARDER #170

@JedrzejczykRobert

Description

@JedrzejczykRobert

file: ZXing.OneD.OneDReader.pas
line: 185

current:

  Result := doDecode(image, hints);
  if (Result = nil) then
  begin
    Exit;
  end;

should be:

  Result := doDecode(image, hints);
  if (Result <> nil) then
  begin
    Exit;
  end;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions