From: Lohit Agarwalla Date: Thu, 15 Jul 2021 09:50:41 +0000 (+0530) Subject: Free memory allocated to error X-Git-Tag: accepted/tizen/unified/20210723.122731^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=19c0e420f5d7a8e490ff3f554d710a87701fbec7;p=platform%2Fcore%2Faccount%2Ffido-client.git Free memory allocated to error Change-Id: I07592e0975e9b9ce643a76336c015c2406c5231a Signed-off-by: Lohit Agarwalla --- 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; }