Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-13569

Use sql_freeresult for $result assignments and remove unneeded $result assignments

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.1.4-RC1
    • Component/s: None
    • Labels:
      None

      Description

      Some files assign $result but never free the result afterwards. If $result is actually used, the sql_freeresult method should be used. If the assignment to $result is not needed it should be removed.

        Activity

        Hide
        nickvergessen Joas Schilling added a comment -

        Can we have a checker for this nicofuma

        Show
        nickvergessen Joas Schilling added a comment - Can we have a checker for this nicofuma

          People

          • Assignee:
            Marc Marc
            Reporter:
            Marc Marc
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development