summaryrefslogtreecommitdiffstats
path: root/gpl-2.0.txt
diff options
context:
space:
mode:
authorGravatar Thiago Macieira <thiago@macieira.org>2014-05-07 21:51:55 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-07 21:52:56 -0700
commit497d6e3e6c353d69cd6c27f7b573400b82de8ff3 (patch)
treeb95563b74f6e3dbb8b3cd85d0d4f49a771993cd4 /gpl-2.0.txt
parent5bd6361f918f9f1d9c8ff16df0511a42113847d7 (diff)
downloadsubsurface-497d6e3e6c353d69cd6c27f7b573400b82de8ff3.tar.gz
Fix crash on dereferencing dangling pointers
QList::first() returns a reference to an item, but that list was a temporary. The list gets destroyed at the end of the statement (the semi-colon), so we ended up keeping a reference to freed data (i.e., a dangling pointer) Signed-off-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gpl-2.0.txt')
0 files changed, 0 insertions, 0 deletions