Free memory allocated to err 12/261312/1
authorLohit Agarwalla <l.agarwalla@samsung.com>
Thu, 15 Jul 2021 05:21:16 +0000 (10:51 +0530)
committerLohit Agarwalla <l.agarwalla@samsung.com>
Thu, 15 Jul 2021 05:21:16 +0000 (10:51 +0530)
Change-Id: I403efba748267d7cb893b67543499375e0b231b3
Signed-off-by: Lohit Agarwalla <l.agarwalla@samsung.com>
ui/src/asm_ui_ipc.c

index 1e33e05..8a28266 100755 (executable)
@@ -88,6 +88,7 @@ asm_ui_ipc_send_auth_result(int type, const char *nonce, int result, const char
        GError *err = NULL;
        fidoasm_call_auth_ui_result_sync(dbus_proxy, type, nonce, result, token,
                                                                         NULL, &err);
+       g_error_free(err);
 
        return 0;
 }