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 /suppressions.lsan | |
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 'suppressions.lsan')
-rw-r--r-- | suppressions.lsan | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/suppressions.lsan b/suppressions.lsan index cb7c857..9737bd4 100644 --- a/suppressions.lsan +++ b/suppressions.lsan | |||
@@ -2,8 +2,6 @@ leak:mdb_env_open | |||
2 | leak:mdb_dbi_open | 2 | leak:mdb_dbi_open |
3 | #Catch everything from lmdb for now | 3 | #Catch everything from lmdb for now |
4 | leak:liblmdb.so | 4 | leak:liblmdb.so |
5 | #We're currently leaking ResourceAccess::Private | ||
6 | leak:ResourceAccess | ||
7 | #There seems to be a tiny leak in qrand that we can't do anything about | 5 | #There seems to be a tiny leak in qrand that we can't do anything about |
8 | leak:qrand | 6 | leak:qrand |
9 | leak:ApplicationDomain::getTypeName | 7 | leak:ApplicationDomain::getTypeName |