diff options
author | Karel Klic <kklic@redhat.com> | 2010-06-28 17:05:23 +0200 |
---|---|---|
committer | Karel Klic <kklic@redhat.com> | 2010-06-28 17:05:23 +0200 |
commit | 89cc0327197bcff83ba24d681b15fd6dc19417a2 (patch) | |
tree | 840492c0916eac8b637f9a6dff2480361f570be0 /src/Daemon/CommLayerServerDBus.cpp | |
parent | 2fdc17f250d228bbf1b82b069d4cb0a66af8e440 (diff) | |
download | abrt-89cc0327197bcff83ba24d681b15fd6dc19417a2.tar.gz abrt-89cc0327197bcff83ba24d681b15fd6dc19417a2.tar.xz abrt-89cc0327197bcff83ba24d681b15fd6dc19417a2.zip |
Removed some memory leaks
Diffstat (limited to 'src/Daemon/CommLayerServerDBus.cpp')
-rw-r--r-- | src/Daemon/CommLayerServerDBus.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Daemon/CommLayerServerDBus.cpp b/src/Daemon/CommLayerServerDBus.cpp index 7fa9f26b..347278f4 100644 --- a/src/Daemon/CommLayerServerDBus.cpp +++ b/src/Daemon/CommLayerServerDBus.cpp @@ -597,6 +597,7 @@ CCommLayerServerDBus::CCommLayerServerDBus() // // and need to code up handle_message to check for "Disconnected" dbus signal + /* Also sets g_dbus_conn to conn. */ attach_dbus_conn_to_glib_main_loop(conn, "/com/redhat/abrt", message_received); VERB3 log("dbus_bus_request_name"); @@ -619,5 +620,5 @@ CCommLayerServerDBus::CCommLayerServerDBus() CCommLayerServerDBus::~CCommLayerServerDBus() { -// do we need to do anything here? + dbus_connection_unref(g_dbus_conn); } |