Revert "Fix malloc"

This reverts commit 0fa7aa3a095dc3971db17ed320f5fc3af0e3aa6c.