mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-28 05:19:18 +08:00
Use lept_free instead of free for memory which was allocated by Leptonica
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
1b95eb1d19
commit
201686feb8
@ -252,8 +252,8 @@ void GeneratePerspectiveDistortion(int width, int height, TRand *randomizer, Pix
|
||||
b = new_box1.bounding_union(new_box2);
|
||||
}
|
||||
}
|
||||
free(im_coeffs);
|
||||
free(box_coeffs);
|
||||
lept_free(im_coeffs);
|
||||
lept_free(box_coeffs);
|
||||
}
|
||||
|
||||
// Computes the coefficients of a randomized projective transformation.
|
||||
|
Loading…
Reference in New Issue
Block a user