MEMORY account reallocs

This commit is contained in:
Peter Lieven
2012-11-05 15:20:15 +01:00
parent 65cd38e8ff
commit e6553c2ef8
3 changed files with 13 additions and 3 deletions

View File

@@ -149,7 +149,7 @@ iscsi_add_data(struct iscsi_context *iscsi, struct iscsi_data *data,
}
else
if (data->alloc_size != new_alloc_size) {
data->data = realloc(data->data, new_alloc_size);
data->data = iscsi_realloc(iscsi, data->data, new_alloc_size);
}
if (data->data == NULL) {