]> git.ipfire.org Git - thirdparty/hostap.git/commit
D-Bus (old): Fix memory leak on error path
authorJouni Malinen <j@w1.fi>
Tue, 6 Jan 2015 10:06:39 +0000 (12:06 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 7 Jan 2015 11:19:00 +0000 (13:19 +0200)
commita2af1c70c5cad29599d31c5296628bec7013b6fd
treedb63697560715f242b3f1ef71167f6567713c99a
parent3d2e2d5d6300c4be611cac67454e4aa0e8af54af
D-Bus (old): Fix memory leak on error path

If setSmartcardModules() fails to allocate memory with os_strdup(), the
allocated items in the dict entry were not freed.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/dbus/dbus_old_handlers.c