summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhimanshu.m@samsung.com <himanshu.m@samsung.com>2019-05-28 12:01:55 +0530
committerHimanshu Maithani <himanshu.m@samsung.com>2019-06-12 17:48:49 +0530
commit4afc3d948a181b0eab55436b22f72ba5d33d8efb (patch)
tree2b72137d38dcbc21c9c2568627ed8a75f9c37c5d
parentd834e9f79552aa2406372b8cf11f6a7ef3c5e8d1 (diff)
downloaddbus-4afc3d948a181b0eab55436b22f72ba5d33d8efb.tar.gz
dbus-4afc3d948a181b0eab55436b22f72ba5d33d8efb.tar.bz2
dbus-4afc3d948a181b0eab55436b22f72ba5d33d8efb.zip
fix: missing dbus_error_free in kdbus_write_msg_internalsubmit/tizen/20190624.001018
free message/name from the error in kdbus_write_msg_internal Change-Id: I7f03abc0fc3f7c81e3725b3325f9e15209906e35 Signed-off-by: Himanshu Maithani <himanshu.m@samsung.com> Signed-off-by: Gaurav Gupta <g.gupta@samsung.com>
-rwxr-xr-xdbus/dbus-transport-kdbus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbus/dbus-transport-kdbus.c b/dbus/dbus-transport-kdbus.c
index 8111bd2f..4697972f 100755
--- a/dbus/dbus-transport-kdbus.c
+++ b/dbus/dbus-transport-kdbus.c
@@ -1020,6 +1020,7 @@ kdbus_write_msg_internal (DBusTransportKdbus *transport,
NULL,
error.message,
message);
+ dbus_error_free(&error);
}
if (reply == NULL)