summaryrefslogtreecommitdiffstats
path: root/0018-RH-fix-factorize.patch
blob: 1dfcab5476efdedd5497bc61c0b020da8d3cc45f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
 libmultipath/config.c |    2 ++
 1 file changed, 2 insertions(+)

Index: multipath-tools-130222/libmultipath/config.c
===================================================================
--- multipath-tools-130222.orig/libmultipath/config.c
+++ multipath-tools-130222/libmultipath/config.c
@@ -437,6 +437,8 @@ restart:
 			merge_hwe(hwe2, hwe1);
 			if (hwe_strmatch(hwe2, hwe1) == 0) {
 				vector_del_slot(hw, i);
+				free_hwe(hwe1);
+				n -= 1;
 				/*
 				 * Play safe here; we have modified
 				 * the original vector so the outer