diff options
author | Milan Plzik <milan.plzik@streamunlimited.com> | 2015-02-25 17:52:11 +0100 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2015-03-16 22:35:11 +0100 |
commit | ed989d75f58b9a15ee524bd7b493e13024458551 (patch) | |
tree | 4ca8b8c44a02d2ce7f1742af7dc3660bf7c628e0 /data | |
parent | 44b0b299e296a392c4a10aba8492b0b512565248 (diff) | |
download | rygel-ed989d75f58b9a15ee524bd7b493e13024458551.tar.gz |
renderer Fix referencing of invalid GUPnP.Service
If AVTransport or RenderingControl is destroyed while a timeout is running,
ChangeLog is not destroyed with the Service and hence has a dangling service
pointer.
Rygel.ChangeLog was holding an unowned reference to GUPnP.Service. In a case
when the Service was already destroyed and ChangeLog's timeout method was
invoked, this resulted in accessing of already-destroyed instance. This patch
fixes it by using a WeakRef to the Service.
Signed-off-by: Milan Plzik <milan.plzik@streamunlimited.com>
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions