| Index: webkit/glue/ftp_directory_listing_response_delegate.cc
|
| diff --git a/webkit/glue/ftp_directory_listing_response_delegate.cc b/webkit/glue/ftp_directory_listing_response_delegate.cc
|
| index 64f529c4580823b5ab83a7026d0745a23c90b191..093973effd581b5816d0752bd31ab6755ba67166 100644
|
| --- a/webkit/glue/ftp_directory_listing_response_delegate.cc
|
| +++ b/webkit/glue/ftp_directory_listing_response_delegate.cc
|
| @@ -38,6 +38,7 @@ std::string DetectEncoding(const std::string& text) {
|
| &status);
|
| const UCharsetMatch* match = ucsdet_detect(detector, &status);
|
| const char* encoding = ucsdet_getName(match, &status);
|
| + ucsdet_close(detector);
|
| // Should we check the quality of the match? A rather arbitrary number is
|
| // assigned by ICU and it's hard to come up with a lower limit.
|
| if (U_FAILURE(status))
|
|
|