tlsf: remove memset() call in add_new_area()
This call was not needed in the first place, but was causing crashes in sgt-puzzles. Removing it fixes the crashes. Change-Id: I1149d5600e1c97e0e848fdd34bf65d54c930adab
This commit is contained in:
parent
8a6d7cefc9
commit
60e5cd7276
1 changed files with 3 additions and 1 deletions
|
@ -506,7 +506,9 @@ size_t add_new_area(void *area, size_t area_size, void *mem_pool)
|
|||
area_info_t *ptr, *ptr_prev, *ai;
|
||||
bhdr_t *ib0, *b0, *lb0, *ib1, *b1, *lb1, *next_b;
|
||||
|
||||
memset(area, 0, area_size);
|
||||
/* FW 28-10-17: disabled memset due to crashes on ARM. Functions
|
||||
* fine without it. */
|
||||
/* memset(area, 0, area_size); */
|
||||
ptr = tlsf->area_head;
|
||||
ptr_prev = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue