Simplify line handling for memdebug.

We don't use line handling right now.