Unable to retrieve data from SQLite3 databases
<h3><details><summary>Original Reporter info from Mantis: <small>jrcar</small></summary><small>
- **Reporter name:** James Carthew
</small></details></h3>
## Description:
Retrieving data from SQLite3 databases results in an attempt to read a null pointer.
## Steps to reproduce:
Modify packages/sqlite/tests/test.pas to use the SQLite3 and SQLite3db units.<br/>
Compile with the 2.6.4 compiler and run the executable.<br/>
This will fail with an attempt to read memory address 0.
This also fails on Windows.
If the same thing is done with version 2.6.2 the test program succeeds.
## Additional information:
The problem appears to be in packages/sqlite/src/sqlite3db.pas, line 317.<br/>
Which is "Field.free".<br/>
I believe this not only frees the TStringList inside the procedure TSQLite.SQLOnData it also frees the TStringList that has just been added to List_Field.
## Mantis conversion info:
- **Mantis ID:** 27260
- **OS:** Linux Mint
- **OS Build:** 16
- **Platform:** Linux
- **Version:** 2.6.4
- **Fixed in version:** 3.0.0
- **Fixed in revision:** 30138 (#2c878e768412c56d423d0f0b311dd4159dc1d79d)
- **Monitored by:** » jrcar (James Carthew)
- **Target version:** 3.0.0
issue