Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-104271

Resource leaks in tests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.4.0 FF
    • Qt Http Server
    • None

    Description

      Tests for the module allocate stuff in a few places using new but never bother to release it (qthttpserver/tests/auto/qabstracthttpserver/tst_qabstracthttpserver.cpp as an example). It would be good to make sure that all temporary objects are destroyed when test finishes. In most cases allocating objects on the stack instead would be sufficient.

      Attachments

        Activity

          People

            mikhailsvetkin Mikhail Svetkin
            ievgenii.meshcheriakov Ievgenii Meshcheriakov
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: