Closed GoogleCodeExporter closed 8 years ago
Thanks for bringing in this issue and for supporting all the
Windows users who have run into this (e.g., with Tesseract).
In 1.68 leptonica will provide wrappers for fopen(), fclose(), and free()
that can be used to assure that file stream and heap management
are all handled by the leponica dll.
So, for example, if leptonica returns a string on the heap,
the application can free it with lept_free(). Or if a file is
opened in the app, and the fp is passed to a leptonica function,
the app should use lept_fopen() and lept_fclose().
The programs in 'prog' that crash because of the use of two
different dll C-runtimes and heaps will be fixed.
Original comment by dan.bloo...@gmail.com
on 20 Nov 2010 at 6:22
fixed in 1.68
Original comment by dan.bloo...@gmail.com
on 16 Mar 2011 at 12:06
Original issue reported on code.google.com by
tomp2...@gmail.com
on 14 Nov 2010 at 6:19