if (strcmp(caller, _UI_SVC_BIN_PATH) != 0) {
_ERR("[%s] is not allowed", caller);
__start_ui_svc_term_timer();
+ free(caller);
return true;
}
__start_ui_svc_term_timer();
}
+ free(caller);
+
g_main_loop_quit(__mainLoop);
return true;
}
if (auth_idx_int == -1) {
_ERR("ASM in data missing");
_send_process_response(cb_data, FIDO_ERROR_NO_SUITABLE_AUTHENTICATOR, NULL);
-
- _free_fido_asm_auth_in(auth_asm_in);
SAFE_DELETE(version);
-
return;
}
if (strcmp(caller_path, _FIDO_SERVICE_PATH) != 0) {
_ERR("Only fido-service is allowed to call ASM");
dummyasm_complete_asm_request(object, invocation, -1, NULL);
+ free(caller_path);
return true;
}
char *req_type = __get_request_type(uaf_request_json);
if (req_type == NULL) {
- dummyasm_complete_asm_request(object, invocation, -1, NULL);
+ dummyasm_complete_asm_request(object, invocation, -1, NULL);
+ free(caller_path);
return true;
}
dummyasm_complete_asm_request(object, invocation, 0, _GET_REGISTRATIONS_RESPONSE);
free(req_type);
+ free(caller_path);
return true;
}