From: Christof Schmitt <christof.schmitt@xxxxxxxxxx> Assign the pointer returned from REALLOC to v->slot; this is the memory area to be changed. Signed-off-by: Christof Schmitt <christof.schmitt@xxxxxxxxxx> --- libmultipath/vector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 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 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel