Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[connectionagent] fix crash trying to delete uninitialized object
  • Loading branch information
Lorn Potter committed May 28, 2013
1 parent 9b1807d commit 12ba5eb
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion connectionagentplugin/connectionagentplugin.cpp
Expand Up @@ -33,7 +33,8 @@
#define CONND_PATH "/Connectiond"

ConnectionAgentPlugin::ConnectionAgentPlugin(QObject *parent):
QObject(parent)
QObject(parent),
connManagerInterface(0)
{
connectiondWatcher = new QDBusServiceWatcher(CONND_SERVICE,QDBusConnection::sessionBus(),
QDBusServiceWatcher::WatchForRegistration |
Expand Down
2 changes: 1 addition & 1 deletion rpm/connectionagent-qt5.spec
Expand Up @@ -9,7 +9,7 @@ Name: connectionagent-qt5
# << macros

Summary: User Agent daemon
Version: 0.6.7
Version: 0.6.8
Release: 0
Group: Communications/Connectivity Adaptation
License: LGPLv2
Expand Down
2 changes: 1 addition & 1 deletion rpm/connectionagent-qt5.yaml
@@ -1,6 +1,6 @@
Name: connectionagent-qt5
Summary: User Agent daemon
Version: 0.6.7
Version: 0.6.8
Release: 0
Group: "Communications/Connectivity Adaptation"
License: LGPLv2
Expand Down
2 changes: 1 addition & 1 deletion rpm/connectionagent.spec
Expand Up @@ -9,7 +9,7 @@ Name: connectionagent
# << macros

Summary: User Agent daemon
Version: 0.6.7
Version: 0.6.8
Release: 0
Group: Communications/Connectivity Adaptation
License: LGPLv2
Expand Down
4 changes: 2 additions & 2 deletions rpm/connectionagent.yaml
@@ -1,6 +1,6 @@
Name: connectionagent
Summary: User Agent daemon
Version: 0.6.7
Version: 0.6.8
Release: 0
Group: "Communications/Connectivity Adaptation"
License: LGPLv2
Expand All @@ -17,7 +17,7 @@ Requires:
PkgConfigBR:
- QtCore
- QtDBus
- connman-qt4
- connman-qt

Configure: none
Builder: qmake
Expand Down

0 comments on commit 12ba5eb

Please sign in to comment.