diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-11-16 11:28:18 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-11-16 11:28:18 +0100 |
commit | 74f6131c0a67e0b1d0a656ba80f5fd542d12e743 (patch) | |
tree | fba2fb135a5da5690cae11c72b6325ea75fce4b1 /sinksh | |
parent | 45c2e6a6be0668aa93b38f528042dc42b780d783 (diff) | |
download | sink-74f6131c0a67e0b1d0a656ba80f5fd542d12e743.tar.gz sink-74f6131c0a67e0b1d0a656ba80f5fd542d12e743.zip |
Removed ResourceAccess::Private leak and resolved resulting memory
corruption.
It looks like the memory corruption (malloc started to crash) was coming QLocalSocket related
signals. According to the docs it's not safe (whatever that means), to
delete a QObject with pending signals, so we use deleteLater to schedule
it's deletion. This resolved the crashes.
Diffstat (limited to 'sinksh')
0 files changed, 0 insertions, 0 deletions