Fixed a small bug which would cause scanner to leak memory when overlap == 0.

BUG=
R=parki.san@gmail.com

Review URL: https://codereview.appspot.com/103430043