Removed dangerous and obsolete memset