diff options
author | albator <albator@arcadia.vtf> | 2011-11-12 17:26:18 +0100 |
---|---|---|
committer | albator <albator@arcadia.vtf> | 2011-11-12 17:26:18 +0100 |
commit | 689b6fa4878d733803b859d4dbb1c6be4ec166cd (patch) | |
tree | d846d02221996e2da5cbd06a59aa4e46eb56699e /redhat/dependencies/dbus-1-tqt/dbus1tqt-3.5.13-memory_leak.patch | |
parent | b7bc75a7f79015c615ee5403f9fd459e846c05ac (diff) | |
download | tde-packaging-689b6fa4878d733803b859d4dbb1c6be4ec166cd.tar.gz tde-packaging-689b6fa4878d733803b859d4dbb1c6be4ec166cd.zip |
RHEL/fedora: add dbus-1-tqt
Diffstat (limited to 'redhat/dependencies/dbus-1-tqt/dbus1tqt-3.5.13-memory_leak.patch')
-rw-r--r-- | redhat/dependencies/dbus-1-tqt/dbus1tqt-3.5.13-memory_leak.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/redhat/dependencies/dbus-1-tqt/dbus1tqt-3.5.13-memory_leak.patch b/redhat/dependencies/dbus-1-tqt/dbus1tqt-3.5.13-memory_leak.patch new file mode 100644 index 000000000..cae8fea03 --- /dev/null +++ b/redhat/dependencies/dbus-1-tqt/dbus1tqt-3.5.13-memory_leak.patch @@ -0,0 +1,16 @@ +--- dbus-1-tqt/tqdbusconnection.cpp.ORI 2011-11-11 20:37:57.684881138 +0100 ++++ dbus-1-tqt/tqdbusconnection.cpp 2011-11-11 20:40:33.910795465 +0100 +@@ -285,7 +285,12 @@ + + dbus_message_unref(msg); + +- return TQT_DBusMessage::fromDBusMessage(reply); ++ TQT_DBusMessage mess = TQT_DBusMessage::fromDBusMessage(reply); ++ ++ /* XXX fromDbusMessage do a ref(), avoid leaking */ ++ dbus_message_unref(reply); ++ ++ return mess; + } + + void TQT_DBusConnection::flush() const |