Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
FPSpreadsheet
»
ReadFromFile XLSX - memory leak after Free
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Any good tutorials for dg...
by
Mathias
[
Today
at 11:00:55 pm]
Memory leak using TJPEGIm...
by
petevick
[
Today
at 10:27:35 pm]
[SOLVED] How to "Jump To"...
by
RedOctober
[
Today
at 09:52:28 pm]
How to use newer macOS SD...
by
Hansaplast
[
Today
at 09:34:22 pm]
TryStrToFloat
by
BubikolRamios
[
Today
at 08:56:18 pm]
programming with Lazarus
by
srvaldez
[
Today
at 08:33:55 pm]
LED Multicolor Keyboard C...
by
MarkMLl
[
Today
at 08:15:18 pm]
Effect of streaming in a ...
by
Thaddy
[
Today
at 08:07:16 pm]
Browser User Agent & Frie...
by
Aruna
[
Today
at 08:01:00 pm]
LazCAD – First Release!
by
maurog
[
Today
at 07:13:54 pm]
Unexpected Project1 Form ...
by
Atlanta0001
[
Today
at 07:05:07 pm]
Getting error: Undefined ...
by
DiegoF
[
Today
at 05:22:21 pm]
Listview how to custom or...
by
VisualLab
[
Today
at 05:06:37 pm]
Using synapse to send ema...
by
hamacker
[
Today
at 03:50:53 pm]
Unable to Query the ODBC ...
by
Thaddy
[
Today
at 03:43:31 pm]
Searching for a safe alte...
by
marcov
[
Today
at 03:12:42 pm]
MariaDB sold to Investor
by
dbannon
[
Today
at 02:55:32 pm]
Lazarus always uses a 32 ...
by
Martin_fr
[
Today
at 02:37:27 pm]
Class designer/editor
by
Aruna
[
Today
at 02:28:35 pm]
[Solved] Unable install l...
by
JohnnieK
[
Today
at 09:12:35 am]
SnapTRAINER
by
davenardella
[
Today
at 08:28:42 am]
Broken Icon Display on ma...
by
dsiders
[
Today
at 07:31:54 am]
Local Vars often inspect ...
by
SandyG
[
Today
at 05:21:45 am]
TListView.OnChange Event ...
by
msintle
[
Today
at 02:18:23 am]
Extended Module Player
by
bobby100
[
Today
at 12:21:08 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: ReadFromFile XLSX - memory leak after Free (Read 928 times)
vertnik
New Member
Posts: 34
ReadFromFile XLSX - memory leak after Free
«
on:
June 28, 2024, 12:48:41 pm »
Hi!
I found memory leak when reading attached XLSX file.
Code: Pascal
[Select]
[+]
[-]
procedure
TForm1
.
Button1Click
(
Sender
:
TObject
)
;
var
MyWorkbook
:
TsWorkbook
;
begin
try
MyWorkbook
:
=
TsWorkbook
.
Create
;
MyWorkbook
.
ReadFromFile
(
'PA_06_03_1_2.xlsx'
,
sfOOXML
)
;
finally
MyWorkbook
.
Free
;
end
;
end
;
Br, Robert
Logged
wp
Hero Member
Posts: 12288
Re: ReadFromFile XLSX - memory leak after Free
«
Reply #1 on:
June 28, 2024, 04:05:49 pm »
Thanks for reporting. Should be fixed in the new CCR version (not yet in OPM). Please test and report back.
Logged
vertnik
New Member
Posts: 34
Re: ReadFromFile XLSX - memory leak after Free
«
Reply #2 on:
June 29, 2024, 08:00:16 am »
Hi, wp!
Thank you for fixing this issue.
Tested and works.
Robert
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
FPSpreadsheet
»
ReadFromFile XLSX - memory leak after Free
TinyPortal
© 2005-2018