diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-01-26 12:47:02 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-01-28 18:45:14 +0000 |
commit | c14c3a1054f68886413e8698cdf67275d91d3e58 (patch) | |
tree | 4634b40103876e87fdb0e321b452947ec9fe9cfb /src/quick/items/qquickanimatedsprite_p.h | |
parent | 570c848e6d546d35b408770e1b1d1d954268d519 (diff) |
PathView: don't leak item references
Every getItem() call increases the reference count. If getItem() was
called on an item that was already managed, we must pair it with a call
to releaseItem() in order to keep the reference count in sync.
Change-Id: I897d19c77bc0c58717065cbe925c45a14153ad0b
Task-number: QTBUG-50655
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/quick/items/qquickanimatedsprite_p.h')
0 files changed, 0 insertions, 0 deletions