Results 1 to 1 of 1

Thread: Memory Leaks in DSCameraSession::updateSourceCapabilities (QT 5.7)

  1. #1
    Join Date
    Sep 2016
    Posts
    3
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Memory Leaks in DSCameraSession::updateSourceCapabilities (QT 5.7)

    There is a memory leak in "void DSCameraSession::updateSourceCapabilities()" for windows.

    If IAMVideoControl::GetFrameRateList succeeded, frameRates will never been freed by calling CoTaskMemFree. (dscamerasession.cpp Line 1213)

    MSDN:
    "The caller is responsible for freeing the memory through a call to CoTaskMemFree."
    Last edited by FSDrake; 12th October 2017 at 22:23.

Similar Threads

  1. QT Memory Leaks
    By lukabratzi in forum Qt Programming
    Replies: 17
    Last Post: 28th February 2012, 20:01
  2. Memory Leaks
    By kaushal_gaurav in forum Qt Programming
    Replies: 4
    Last Post: 20th October 2008, 16:26
  3. Memory leaks..
    By santhoshv84 in forum Qt Programming
    Replies: 2
    Last Post: 28th August 2008, 19:28
  4. memory leaks
    By Fastman in forum Qt Programming
    Replies: 1
    Last Post: 5th March 2008, 08:00
  5. why there are memory leaks in Qt?
    By cocalele in forum Qt Programming
    Replies: 1
    Last Post: 19th March 2006, 09:55

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.