diff options
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 |