microsoft / jericho

A learning environment for man-made Interactive Fiction games.
GNU General Public License v2.0
257 stars 42 forks source link

Change malloc to calloc and remove memset #4

Closed gabrielfelipeg closed 5 years ago

gabrielfelipeg commented 5 years ago

calloc() zero-initializes the buffer, so it is not necessary call memset() after.