Commit 8cf18e6b authored by Petri Hintukainen's avatar Petri Hintukainen

Revert "Replace missed realloc with _safe_realloc."

This reverts commit 4cbdf441.
parent d578d990
......@@ -341,7 +341,7 @@ int decode_allocation_extent(struct file_entry **p_fe, const uint8_t *p, size_t
return 0;
}
fe = (struct file_entry *)_safe_realloc(fe, sizeof(struct file_entry) + sizeof(struct long_ad) * (fe->num_ad + num_ad - 1));
fe = (struct file_entry *)realloc(fe, sizeof(struct file_entry) + sizeof(struct long_ad) * (fe->num_ad + num_ad - 1));
if (!fe) {
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment