Ignore:
Timestamp:
11/22/18 11:59:29 (2 years ago)
Author:
Jacob Van Walraven <jcv9@…>
Branches:
develop
Children:
33b735c
Parents:
2dc1d9b
Message:

Cleanup some of the assertions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_etsilive.c

    r2044185 r2725318  
    212212        libtrace->format_data = (etsilive_format_data_t *)malloc(
    213213                        sizeof(etsilive_format_data_t));
     214
     215        if (!libtrace->format) {
     216                trace_set_err(libtrace, TRACE_ERR_INIT_FAILED, "Unable to allocate memory etsilive_init_input()");
     217                return 1;
     218        }
    214219
    215220        FORMAT_DATA->receivers = NULL;
Note: See TracChangeset for help on using the changeset viewer.