Opened 12 years ago

Closed 12 years ago

#4406 closed defect (fixed)

Memory leak in georaster driver

Reported by: lucafibbi Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: 1.8.1
Severity: normal Keywords:
Cc: ilucena

Description

In "GeoRasterWrapper::Open" fuction (file georaster_wrapper.cpp) this statment:

    poGRW->poConnection = new OWConnection( papszParam[0],
                                            papszParam[1],
                                            papszParam[2] );

creates the poConnection variable that is never destroyed. This cause that the connection to Oracle database is not closed when the GeoRasterWrapper object is destroyed

Change History (2)

comment:1 by Even Rouault, 12 years ago

Cc: ilucena added

comment:2 by ilucena, 12 years ago

Resolution: fixed
Status: newclosed

Previously the destroy connection was done on georaster_driver.cpp. But that code doesn't exist since #4039 r22166.

Fixed on r23629

Thanks.

Note: See TracTickets for help on using tickets.