Uploaded image for project: 'OpenDNSSEC'
  1. OpenDNSSEC
  2. OPENDNSSEC-445

CLONE - Review how clean up is done in ksmutil.c

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Outdated
    • Affects Version/s: 1.3.14, 1.4.1
    • Fix Version/s: 1.3.17
    • Component/s: Enforcer
    • Labels:
      None
    • Sprint:
      2.0.0b1

      Description

      In the functions in ksmutil.c (and probably enforcer.c too) we need to review how clean up is done whenever an error code or early exit path is hit.
      We need to make sure that where needed

      • ctx is released
      • any database connection is released
      • any hsm connection is released
      • structures are freed
      • etc.

      It may make sense to introduce a general on_exit() function to simplify this.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              berry Berry van Halderen
              Reporter:
              sara Sara Dickinson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: