Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#4929 closed defect (fixed)

SOSI driver causes memory leaks in FYBA library

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

Description (last modified by Mateusz Łoskot)

SOSI 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 (4)

comment:1 by Mateusz Łoskot, 11 years ago

Owner: changed from warmerdam to Mateusz Łoskot
Status: newassigned

comment:2 by Mateusz Łoskot, 11 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r25328

comment:3 by Mateusz Łoskot, 11 years ago

Description: modified (diff)
Summary: SOCI driver causes memory leaks in FYBA librarySOSI driver causes memory leaks in FYBA library

comment:4 by Mateusz Łoskot, 11 years ago

Refined in r25330

Note: See TracTickets for help on using tickets.