diff mbox

[1/2] multipath-tools: Assign correct pointer from REALLOC

Message ID 20100722163918.159875000@de.ibm.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Christof Schmitt July 22, 2010, 4:36 p.m. UTC
None
diff mbox

Patch

--- a/libmultipath/vector.c
+++ b/libmultipath/vector.c
@@ -96,7 +96,7 @@  vector_del_slot(vector v, int slot)
 		v->slot = NULL;
 	}
 	else
-		v = REALLOC(v->slot, sizeof (void *) * v->allocated);
+		v->slot = REALLOC(v->slot, sizeof (void *) * v->allocated);
 }
 
 void