671555
---
671555
 libmultipath/prio.c |    5 ++++-
671555
 1 file changed, 4 insertions(+), 1 deletion(-)
671555
671555
Index: multipath-tools-130222/libmultipath/prio.c
671555
===================================================================
671555
--- multipath-tools-130222.orig/libmultipath/prio.c
671555
+++ multipath-tools-130222/libmultipath/prio.c
671555
@@ -162,7 +162,10 @@ void prio_put (struct prio * dst)
671555
 	if (!dst)
671555
 		return;
671555
 
671555
-	src = prio_lookup(dst->name);
671555
+	if (!strlen(dst->name))
671555
+		src = NULL;
671555
+	else
671555
+		src = prio_lookup(dst->name);
671555
 	memset(dst, 0x0, sizeof(struct prio));
671555
 	free_prio(src);
671555
 }