671555
---
671555
 multipathd/main.c |    5 +++--
671555
 1 file changed, 3 insertions(+), 2 deletions(-)
671555
671555
Index: multipath-tools-130222/multipathd/main.c
671555
===================================================================
671555
--- multipath-tools-130222.orig/multipathd/main.c
671555
+++ multipath-tools-130222/multipathd/main.c
671555
@@ -1735,8 +1735,9 @@ child (void * param)
671555
 	vecs->pathvec = NULL;
671555
 	unlock(vecs->lock);
671555
 	/* Now all the waitevent threads will start rushing in. */
671555
+	/* freeing vecs isn't worth the races
671555
 	while (vecs->lock.depth > 0) {
671555
-		sleep (1); /* This is weak. */
671555
+		sleep (1);
671555
 		condlog(3, "Have %d wait event checkers threads to de-alloc,"
671555
 			" waiting...", vecs->lock.depth);
671555
 	}
671555
@@ -1746,7 +1747,7 @@ child (void * param)
671555
 	vecs->lock.mutex = NULL;
671555
 	FREE(vecs);
671555
 	vecs = NULL;
671555
-
671555
+	*/
671555
 	cleanup_checkers();
671555
 	cleanup_prio();
671555