memory optimization fix, since gcc 4.7.2.
typo.
Merge pull request #1 from sncn-private/dev_memfix

Dev memfix