on xenial help sign in
Whoops, initialize our pointer before use...
1e3264eSteve Langasek
plugins/Unity/Indicators/indicatorsmanager.cpp+1−1
@@ -215,7 +215,7 @@ void IndicatorsManager::setLoaded(bool loaded)
215 Q_EMIT loadedChanged(m_loaded);
215 Q_EMIT loadedChanged(m_loaded);
216
216
217 auto upstartsession = qgetenv("UPSTART_SESSION");
217 auto upstartsession = qgetenv("UPSTART_SESSION");
218− NihDBusProxy * upstart;
218+ NihDBusProxy * upstart = NULL;
219
219
220 if (!upstartsession.isNull()) {
220 if (!upstartsession.isNull()) {
221 DBusConnection * conn = NULL;
221 DBusConnection * conn = NULL;