Ticket #2164 (closed defect: fixed)
Rework mappluginlayer.c to use dynamic allocation of vtItems[]
| Reported by: | dmorissette | Owned by: | tamas |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.0 release |
| Component: | MapServer C Library | Version: | svn-trunk (development) |
| Severity: | normal | Keywords: | |
| Cc: |
Description
While working on ticket #302, r6356, the mappluginlayer.c stuff has also been updated to dynamically allocate the vtItems[] in the VTFactoryObj inside insertNewVTFItem().
A new msPluginFreeVirtualTableFactory() function has been implemented to presumably be called from msCleanup() and free the gVirtualTableFactory, but I have not added the call to msCleanup() yet.
I'll leave that to Tamas to review my changes, confirm they are correct, and add the call in msCleanup().
Change History
Note: See
TracTickets for help on using
tickets.
