[PATCH] Dbus : Freeing the message after message send in InvitationReceived signal
MAYANK HAARIT
mayank.h at samsung.com
Mon Nov 16 22:19:57 PST 2015
Freeing the message after message send in wpas_dbus_signal_p2p_invitation_received()
Signed-off-by: Mayank Haarit <mayank.h at samsung.com>
Signed-off-by: Avichal Agarwal <avichal.a at samsung.com>
---
wpa_supplicant/dbus/dbus_new.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/wpa_supplicant/dbus/dbus_new.c b/wpa_supplicant/dbus/dbus_new.c
index 1bbfe49..440b8cf 100644
--- a/wpa_supplicant/dbus/dbus_new.c
+++ b/wpa_supplicant/dbus/dbus_new.c
@@ -1950,6 +1950,7 @@ void wpas_dbus_signal_p2p_invitation_received(struct wpa_supplicant *wpa_s,
}
dbus_connection_send(iface->con, msg, NULL);
+ dbus_message_unref(msg);
}
--
1.7.0.4
More information about the Hostap
mailing list