Fixed malloc attribute detetection.