moraes/gorilla — pull request #2 by edsrzf (2011-11-16 01:28:16+00:00)
Title: [mux] Fix memory leak due to uncleared contexts

I didn't measure anything before or after, but this looked like a memory leak to me. ctx and routeCtx both had Set called on them for each request but never Clear.

DefaultContext had Clear called but as far as I could tell it wasn't used anywhere else, so I removed that line.

Let me know if I'm way off. :)