winmad: fixup return values and zero allocated mad
drwxr-xr-x - branches
drwxr-xr-x - tags
drwxr-xr-x - trunk