Ticket #2164 (closed defect: fixed)

Opened 6 years ago

Last modified 2 years ago

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

Changed 6 years ago by tamas

  • milestone changed from 5.0 release to 5.2 release

Changed 5 years ago by tamas

  • milestone changed from 5.2 release to 5.4 release

Changed 4 years ago by tamas

  • milestone changed from 5.4 release to 6.0 release

Changed 2 years ago by tamas

  • status changed from new to closed
  • version changed from 5.0 to svn-trunk (development)
  • resolution set to fixed

Applied in r11083

Note: See TracTickets for help on using tickets.