Unload prio and checkers libraries during shutdown.
authorKonrad Rzeszutek <konrad@virtualiron.com>
Tue, 24 Mar 2009 18:01:05 +0000 (19:01 +0100)
committerChristophe Varoqui <christophe.varoqui@free.fr>
Tue, 24 Mar 2009 18:01:05 +0000 (19:01 +0100)
commit44b2aa361126fe03e0a2a9dac5ccb9d69ac2c13a
treeb9e3ecc621610f543685930bf70827d2e87b0e47
parenta403f57b991f3be7c7ea6250d95fad1554c9d6ca
Unload prio and checkers libraries during shutdown.

Our statup sequence is 'load_config', 'init_checkers', and 'init_prio'.
Both init_* functions reset the list of prio and checkers, which is
unfortunate as in load_config, depending on the multipat.conf, would
load prio and checker libraries. This results in double-loading of
the libraries and a memory leak.
libmultipath/checkers.c
libmultipath/checkers.h
libmultipath/prio.c
libmultipath/prio.h
multipath/main.c
multipathd/main.c