]> git.ipfire.org Git - thirdparty/hostap.git/commit
dbus: Fix a memory leak on error path in CreateInterface method
authorJintao Lin <jintaolin@chromium.org>
Tue, 6 Dec 2022 00:37:04 +0000 (00:37 +0000)
committerJouni Malinen <j@w1.fi>
Sat, 17 Dec 2022 10:11:15 +0000 (12:11 +0200)
commitb0722cf75ec701c746ce38ccf1a34d833fe13aed
tree2fcd59ea0bc822e18354a1876aadd8568ccdd914
parenta7f6b85180a6e5e6efe635b3e12acc9233dbab3b
dbus: Fix a memory leak on error path in CreateInterface method

Fix a potential memory leak in CreateInterface method.

Fixes: 0ba266d86c90 ("dbus: Add virtual interface create/remove logic to be inline with ctrl_iface")
Signed-off-by: Jintao Lin <jintaolin@chromium.org>
wpa_supplicant/dbus/dbus_new_handlers.c