diff options
author | Mike Snitzer <snitzer@redhat.com> | 2009-04-28 23:50:21 +0200 |
---|---|---|
committer | Christophe Varoqui <christophe.varoqui@free.fr> | 2009-04-28 23:50:21 +0200 |
commit | ef341c2fa151b1c5b8ba26633fc28916161a85ff (patch) | |
tree | bfa560b313e3ef44800ec19c7fa349b7b320d475 | |
parent | 6ee19a94941501a93b47c6b9f78f90c1328e34ac (diff) | |
download | multipath-tools-ef341c2fa151b1c5b8ba26633fc28916161a85ff.tar.gz multipath-tools-ef341c2fa151b1c5b8ba26633fc28916161a85ff.tar.bz2 multipath-tools-ef341c2fa151b1c5b8ba26633fc28916161a85ff.zip |
[lib] fix double frees
A careless merge from Hannes' repo introduced double frees.
-rw-r--r-- | libmultipath/config.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libmultipath/config.c b/libmultipath/config.c index 6039642..05dbcd2 100644 --- a/libmultipath/config.c +++ b/libmultipath/config.c @@ -158,11 +158,6 @@ free_hwe (struct hwentry * hwe) if (hwe->bl_product) FREE(hwe->bl_product); - if (hwe->prio_name) - FREE(hwe->prio_name); - - if (hwe->checker_name) - FREE(hwe->checker_name); FREE(hwe); } @@ -410,12 +405,6 @@ free_config (struct config * conf) if (conf->checker_name) FREE(conf->checker_name); - if (conf->prio_name) - FREE(conf->prio_name); - - if (conf->checker_name) - FREE(conf->checker_name); - free_blacklist(conf->blist_devnode); free_blacklist(conf->blist_wwid); free_blacklist_device(conf->blist_device); |