Uploaded image for project: 'Open Development'
  1. Open Development
  2. OPEN-346

Updates for Mac, fix alloc leaks, uninitialized vars, replace deprecated API calls

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: libraries
    • Labels:
    • Environment:
      MacOS 10.14

      Description

      libndofdev on mac has leaked memory for ages. Some CF objects are not being released. Further, after digging into the memleaks, I found several other issues:

      Unsafe handling of c-strings that compromise system memory

      Use of well out-of-date and deprecated Core Foundation APIs and functions (since at least 10.7.

      A couple invalid conversions from 32-64 bit transition.

       

      I have fixed all of these and opened a pull request.

      https://bitbucket.org/lindenlab/3p-libndofdev/pull-requests/1/updates-for-mac-fix-alloc-leaks/diff

      Tested and working on MBP 2017 with SpaceMouse Compact 3DX-700059. I didn't monkey with any of the underlying code, so I don't see how these changes would affect other hardware or platforms.

        Attachments

          Activity

            People

            • Assignee:
              nat.linden Nat Linden
              Reporter:
              cinder.roxley Cinder Roxley
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: