Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-687

cocoa: TSocketServer leaks a CFSocket object

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.2
    • None
    • Cocoa - Library
    • None
    • Patch Available

    Description

      TSocketServer creates a CFSocketRef in -initWithPort:protocolFactory:processorFactory: but never invalidates/releases it. The attached patch properly cleans up the CFSocketRef without invalidating the underlying file descriptor.

      Attachments

        1. TSocketServer.patch
          2 kB
          Kevin Ballard

        Activity

          People

            kballard Kevin Ballard
            kballard Kevin Ballard
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: