Chromium Code Reviews| Index: content/test/net/url_request_slow_download_job.cc |
| diff --git a/content/test/net/url_request_slow_download_job.cc b/content/test/net/url_request_slow_download_job.cc |
| index 3ba1be72a950bc33a9a758543ac0a1448593d1a5..ba32d2364dc7d333b6e2e5cf1b10204f1e04f4cc 100644 |
| --- a/content/test/net/url_request_slow_download_job.cc |
| +++ b/content/test/net/url_request_slow_download_job.cc |
| @@ -185,6 +185,8 @@ void URLRequestSlowDownloadJob::CheckDoneStatus() { |
| ReadStatus status = FillBufferHelper(buffer_, buffer_size_, &bytes_written); |
| DCHECK_EQ(BUFFER_FILLED, status); |
| SetStatus(net::URLRequestStatus()); |
| + // Release reference |
| + buffer_ = NULL; |
|
Randy Smith (Not in Mondays)
2012/05/19 15:29:57
This has already landed, and will disappear from t
Randy Smith (Not in Mondays)
2012/05/23 03:33:15
Done.
|
| NotifyReadComplete(bytes_written); |
| } else { |
| MessageLoop::current()->PostDelayedTask( |