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
Breakout clone with rayli...
by
Guva
[
Today
at 06:19:10 am]
Problems accessing inform...
by
Remy Lebeau
[
Today
at 05:44:05 am]
Newbie in Web Programming...
by
incendio
[
Today
at 03:07:51 am]
Convert this Python code ...
by
Jurassic Pork
[
Today
at 02:56:08 am]
[solved] macro for code ?
by
TBMan
[
Today
at 02:34:14 am]
I get access violation wh...
by
Martin_fr
[
Today
at 01:23:11 am]
A Finger Spinner Sine Cos...
by
Boleeman
[
Today
at 01:01:20 am]
Why there is no build-in ...
by
maurog
[
Today
at 12:04:25 am]
full featured Android Nat...
by
Seenkao
[April 26, 2025, 10:51:30 pm]
Why isn't Lazarus / Free ...
by
Seenkao
[April 26, 2025, 10:35:20 pm]
Macos Sequoia Lazarus 3.8...
by
Nimbus
[April 26, 2025, 10:33:29 pm]
Why is my pie not unicolo...
by
Nicole
[April 26, 2025, 09:28:59 pm]
Knob Finger Spinner Graph...
by
SandyG
[April 26, 2025, 06:02:01 pm]
Little addition for lazpa...
by
Love
[April 26, 2025, 05:43:22 pm]
TAudio- play, edit, conve...
by
TRon
[April 26, 2025, 04:53:51 pm]
String Grid move to cell
by
Handoko
[April 26, 2025, 03:59:46 pm]
Cannot open form after up...
by
PaulWolf
[April 26, 2025, 03:48:15 pm]
TChart - To update or not...
by
Nicole
[April 26, 2025, 03:48:03 pm]
FPC 3.2.2 using Result wi...
by
PascalDragon
[April 26, 2025, 03:41:53 pm]
BLOOMING TREES: Digital S...
by
Boleeman
[April 26, 2025, 03:23:39 pm]
It's a SINE or ..... perh...
by
Boleeman
[April 26, 2025, 03:19:39 pm]
Clipboard actions to mult...
by
zxandris
[April 26, 2025, 02:48:28 pm]
ShowModal has a bug in Li...
by
zeljko
[April 26, 2025, 02:16:24 pm]
Testing with SQLite3DataS...
by
paweld
[April 26, 2025, 01:42:05 pm]
How can I make a file exp...
by
Froxter
[April 26, 2025, 01:31:46 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: ReadFromFile XLSX - memory leak after Free (Read 1336 times)
vertnik
New Member
Posts: 36
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: 12770
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: 36
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