From 19c0e420f5d7a8e490ff3f554d710a87701fbec7 Mon Sep 17 00:00:00 2001 From: Lohit Agarwalla Date: Thu, 15 Jul 2021 15:20:41 +0530 Subject: [PATCH] Free memory allocated to error Change-Id: I07592e0975e9b9ce643a76336c015c2406c5231a Signed-off-by: Lohit Agarwalla --- server/fido_asm_plugin_manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/fido_asm_plugin_manager.c b/server/fido_asm_plugin_manager.c index 1c686d7..6f970d2 100755 --- a/server/fido_asm_plugin_manager.c +++ b/server/fido_asm_plugin_manager.c @@ -336,7 +336,7 @@ _on_asm_dbus_reply(GObject *proxy, GAsyncResult *res, gpointer user_data) (cb_data->cb)(FIDO_ERROR_PERMISSION_DENIED, NULL, cb_data->user_data); SAFE_DELETE(cb_data); - + g_error_free(error); return; } -- 2.7.4