check for data allocation errors
check for data allocation errors

detect_re2c_switch_to_tmp_data(), detect_re2c_update_tmp_data():
check result of malloc() & realloc() calls, return errno on NULL.

wallarm/libdetection,wallarm/libdetection