[multipathd] Memory leak in ev_add_map.
authorKonrad Rzeszutek <konrad@virtualiron.com>
Wed, 17 Dec 2008 22:23:09 +0000 (23:23 +0100)
committerChristophe Varoqui <christophe.varoqui@free.fr>
Wed, 17 Dec 2008 22:23:09 +0000 (23:23 +0100)
commitd431ffaf68794125280b623ef202ccebe9be61e7
tree06c2de9d2711a61b1843c7f6d287210de88613c1
parent01012e0cb0cf09c0bb2c074307c7ec5ff48d4752
[multipathd] Memory leak in ev_add_map.

When using dm_mapname it makes a strdup of the returned value. We use
the dm_mapname return value (alias) in our function but neglected
to free it at the exit points.
multipathd/main.c