[Gammaray-commits] [KDAB/GammaRay] 6a29b1: Fix potential memory leak

Volker Krause volker.krause at kdab.com
Thu Sep 29 10:51:43 CEST 2016


  Branch: refs/heads/2.6
  Home:   https://github.com/KDAB/GammaRay
  Commit: 6a29b1b343b1f5cbe98d44498b915371a87651c2
      https://github.com/KDAB/GammaRay/commit/6a29b1b343b1f5cbe98d44498b915371a87651c2
  Author: Volker Krause <volker.krause at kdab.com>
  Date:   2016-09-29 (Thu, 29 Sep 2016)

  Changed paths:
    M plugins/textdocumentinspector/textdocumentmodel.cpp

  Log Message:
  -----------
  Fix potential memory leak

If we would encounter an element that is neither a valid frame nor block,
we'd leak the already allocated QStandardItem.

Found by the Clang Static Analyzer.




More information about the Gammaray-commits mailing list