summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-09-30 11:54:54 +0200
committerMarc Mutz <marc.mutz@kdab.com>2016-09-30 23:16:45 +0000
commit8a25006fad013f75454d78d976ad02ed7f0f530c (patch)
tree2d2c49c3c1c3a17b115b0fe411d770a011679a93 /src/tools
parentb5662ba6037cd27cbf276922c376a1192ba7c51e (diff)
QFileSystemModel: add an assert to prevent leaks
Private::addNode() adds the new node to the parent's hash without checking whether a node already exists. If it does, then the old node is leaked. Add an assertion to check for this condition. Change-Id: Ib949d71c86c28d1152a538756c0efc283c793c24 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions