[PATCH 4/8] reconfiguration leaks: Cache Manager menu items

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Thu, 24 Apr 2014 18:50:09 -0600

Do not register the same Cache Manager action more than once, to avoid
wrong mgr:menu output and the impression of a reconfigure memory leak.

The old code was comparing action object pointers, which could not work,
and was adding the same action on every reconfigure call for modules
that register with Cache Manager during [re]configuration.

We already have a working method for finding registered actions. Use it.

Alex.

Received on Fri Apr 25 2014 - 00:50:28 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 25 2014 - 12:00:16 MDT