commit | 857501258035c967def86ea1d9303cfda2d03a83 | [log] [tgz] |
---|---|---|
author | Ashwini Munigala <AshwiniM@codeaurora.org> | Fri Sep 26 15:40:54 2014 +0530 |
committer | Ashwini Munigala <AshwiniM@codeaurora.org> | Fri Sep 26 20:32:54 2014 +0530 |
tree | 928b0ebe8caad7570c8372aa163d0cb7821a9b85 | |
parent | e108eda0ff15e81451f4fe02cbea5d708bc02139 [diff] |
FTP: Avoid ServerSocket leak and cleanup unnecessary code. Assigning serverSocket to NULL when IOException occurs on connection socket is not required. Also without a proper closure for RFCOMMServerSocket before assigning it to NULL would cause a socket leak. Change-Id: I99dfcd03f5f73b30fe1763cffcb2a00baed93286 CRs-fixed: 715033