Free memory allocated to err 37/261337/1
authorLohit Agarwalla <l.agarwalla@samsung.com>
Thu, 15 Jul 2021 09:47:23 +0000 (15:17 +0530)
committerLohit Agarwalla <l.agarwalla@samsung.com>
Thu, 15 Jul 2021 09:47:23 +0000 (15:17 +0530)
Change-Id: Ieab28e37b05087d12730b78b944e0cebe9a4d913
Signed-off-by: Lohit Agarwalla <l.agarwalla@samsung.com>
client/fido_uaf_client.c

index 8a35127..55b5603 100755 (executable)
@@ -357,6 +357,7 @@ fido_uaf_set_server_result(int response_code, const char *uaf_response_json)
 
        if (is_success == FALSE) {
                _ERR("fido_call_fido_uaf_notify_result_sync failed [%d]", tizen_error_code);
+               g_error_free(err);
                return FIDO_ERROR_PROTOCOL_ERROR;
        }