Uploaded image for project: 'CIFX Toolkit'
  1. CIFX Toolkit
  2. NXDRVTKIT-94

cifXTKitAddDevice(), argument description of ptDevInst is partly wrong

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V1.0.0.0, V1.0.1.0, V1.0.2.0, V1.0.3.0, V1.0.4.0, V1.1.0.0, V1.1.1.0, V1.1.2.0, V1.1.3.0, V1.1.4.0, V1.1.5.0, V1.2.0.0, V1.2.0.1, V1.3.0.0, V1.4.0.0
    • Fix Version/s: V1.5.0.0
    • Component/s: Documentation
    • Labels:
      None
    • Account:
      SDO Driver (SDODRIVER)

      Description

      The description of the argument ptDevInst notes that memory used by ptDevInst is automatically freed if a device is removed or the toolkit is un-initalized.

      This is wrong, because the memory for ptDevInst is allocated by the calling function and therefore the calling function is responsible to remove it.

       

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  RMay Robert M [X] (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: