Update mem3.c
Update mem3.c
Update mem3.c
Merge pull request #64 from mashaoju/master

update mem3.c