Doctrine 1
  1. Doctrine 1
  2. DC-943

Memory leaks in find* magic methods owing to failure to free queries

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2.3
    • Fix Version/s: None
    • Component/s: Query
    • Labels:
      None

      Description

      The following methods on Doctrine_Table create Doctrine_Query objects that are never free()d:
      findAll()
      findBySql()
      findByDql()
      findBy()
      findOneBy()

        Activity

        Hide
        Garpini added a comment -

        The attachment contains a patch that addresses the memory leak by free()ing the query objects generated before returning the results of the query.

        Show
        Garpini added a comment - The attachment contains a patch that addresses the memory leak by free()ing the query objects generated before returning the results of the query.

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Garpini
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: