asm_tr->content_type = __dup_string(uaf_tr->content_type);
if (uaf_tr->display_charac != NULL) {
asm_tr->display_charac = calloc(1, sizeof(_fido_asm_display_png_characteristics_descriptor_t));
- if(asm_tr->display_charac == NULL) {
+ if (asm_tr->display_charac == NULL) {
SAFE_DELETE(asm_tr);
return NULL;
}
fido_rgb_pallette_entry_s *uaf_plte_entry = (fido_rgb_pallette_entry_s*)(uaf_plte_iter->data);
fido_rgb_pallette_entry_s *asm_plte_entry = calloc(1, sizeof(fido_rgb_pallette_entry_s));
- if(asm_plte_entry == NULL) {
+ if (asm_plte_entry == NULL) {
SAFE_DELETE(asm_tr->display_charac);
SAFE_DELETE(asm_tr);
return NULL;
for (; allowed_list_iter_next != NULL; allowed_list_iter_next = allowed_list_iter_next->next) {
_matched_auth_data_t *matched_auth_data_nxt = (_matched_auth_data_t*)allowed_list_iter_next->data;
- if(matched_auth_data_nxt == NULL){
+ if (matched_auth_data_nxt == NULL) {
SAFE_DELETE(matched_auth_data_new);
return NULL;
}