diff options
author | Tobias Markmann <tm@ayena.de> | 2015-01-20 21:32:15 (GMT) |
---|---|---|
committer | Swift Review <review@swift.im> | 2015-02-05 16:47:43 (GMT) |
commit | ab1fff7fb56de38d9df3c6fba9c4efec9a3042bd (patch) | |
tree | 1169779c90d82c471abefc257f33e97a8799711d /Swiften/SConscript | |
parent | ccaa8342069eaa07d6cb3a4273c83f44883472fe (diff) | |
download | swift-ab1fff7fb56de38d9df3c6fba9c4efec9a3042bd.zip swift-ab1fff7fb56de38d9df3c6fba9c4efec9a3042bd.tar.bz2 |
Fix ASAN reported use-after-free error
The class connects to SettingsProvider::onSettingChanged in its c-tor
but never disconnects from the signal. When an instance is deleted and
the signal is called afterwards it will call the method which will try
to access class members which have already been deleted.
Test-Information:
Tested on OS X 10.9.5. ASAN reported it sometimes on exit. Have not
been able to reproduc it anymore with this fix.
Change-Id: I7f1d815dca87f84a4ae93a5455307e261a1ee329
Diffstat (limited to 'Swiften/SConscript')
0 files changed, 0 insertions, 0 deletions