Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "smalloc: smalloc() already clears memory, scalloc() need not …
…do it again" Originally: smalloc cleared the buffer scalloc did not need to clear the differ Later: 9c3e13e smalloc was changed to not clear the buffer scalloc was not updated to clear the buffer when the above smalloc change was made Originally smalloc always cleared the buffer. So it wasn't necessary for scalloc to clear it again. But later on smalloc was changed to no longer clear the buffer but scalloc was not changed back to clear the buffer. Reverting this commit makes scalloc clear the buffer again. This reverts commit a640ed3. Fixes: #1772 Signed-off-by: Vincent Fu <[email protected]>
- Loading branch information