projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0603bcb
)
dbus: Fix memory leak in sending InvitationReceived signal
author
MAYANK HAARIT
<mayank.h@samsung.com>
Tue, 17 Nov 2015 06:19:57 +0000
(06:19 +0000)
committer
Jouni Malinen
<j@w1.fi>
Tue, 17 Nov 2015 15:20:03 +0000
(17:20 +0200)
Free the message after message send in
wpas_dbus_signal_p2p_invitation_received() to avoid leaking memory.
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
Signed-off-by: Avichal Agarwal <avichal.a@samsung.com>
wpa_supplicant/dbus/dbus_new.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/dbus/dbus_new.c
b/wpa_supplicant/dbus/dbus_new.c
index
1bbfe49
..
440b8cf
100644
(file)
--- 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);
}