Opened 12 years ago

Last modified 12 years ago

#4929 closed defect

SOCI driver causes memory leaks in FYBA library — at Initial Version

Reported by: Mateusz Łoskot Owned by: warmerdam
Priority: normal Milestone:
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords: sosi
Cc:

Description

SOCI driver causes memory leaks in FYBA library

The FYBA library initialization routine LC_Init is called from the OGRSOSIDriver ctor, but FYBA itself does not support multiple initializations. If LC_Init is called multiple times, it casues significant memory leak (hundreds of KB).

So, the SOSI driver does not comply with OGR initialization contract that

Multiple calls to OGRRegisterAll() will not increase the memory used.

as Frank explained in the OGRRegisterAll memory leak thread.

Change History (0)

Note: See TracTickets for help on using tickets.