Commit 508f99ab authored by Edric Milaret's avatar Edric Milaret Committed by Nicolas Jager

asan: fix some leak

Change-Id: I4163519ad9f058704f3a3e0c03c3becf5db1345a
Tuleap: #414
parent 5fac25a5
......@@ -27,9 +27,9 @@ class GlobalSystemTray : public QSystemTrayIcon
public:
static GlobalSystemTray& instance()
{
static GlobalSystemTray instance_;
static GlobalSystemTray* instance_ = new GlobalSystemTray();
return instance_;
return *instance_;
}
private:
......
......@@ -211,7 +211,7 @@ WindowsContactBackend::WindowsContactBackend(CollectionMediator<Person>* mediato
WindowsContactBackend::~WindowsContactBackend()
{
delete watcher_;
}
bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment