Plug an unmanaged memory leak
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Fri, 30 Sep 2011 05:20:29 +0000 (01:20 -0400)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Fri, 30 Sep 2011 05:22:08 +0000 (01:22 -0400)
commit4841411351c606b92147f1bc511cf8e8c47e32e8
tree549e4e3eb7e65da4e1a981777870cda258bd1e87
parent89864dd6a09db2b78f3e0438d438da94a1749d30
Plug an unmanaged memory leak

If Flush() was called with final_flush set to true, we were leaking the
unmanaged memory in the output stream (if allocated).

It was "only" an AS leak.

Thanks to Kumpera for the help debugging this.
mcs/class/System.Web/System.Web/HttpResponse.cs