Opened 13 years ago
Closed 13 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 , 13 years ago
Cc: | added |
---|
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Previously the destroy connection was done on georaster_driver.cpp. But that code doesn't exist since #4039 r22166.
Fixed on r23629
Thanks.