We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00564ae commit a802e10Copy full SHA for a802e10
1 file changed
tracer/ffe.c
@@ -76,7 +76,7 @@ void ddtrace_ffe_record_exposure(
76
dd_ffe_exposure *exposure = &buffer[DDTRACE_G(ffe_exposure_buffer_len)++];
77
exposure->timestamp_ms = ddtrace_nanoseconds_realtime() / 1000000;
78
exposure->flag_key = zend_string_copy(flag_key);
79
- exposure->subject_id = targeting_key ? zend_string_copy(targeting_key) : zend_string_init("", 0, 0);
+ exposure->subject_id = targeting_key ? zend_string_copy(targeting_key) : ZSTR_EMPTY_ALLOC();
80
exposure->subject_attributes_json = zend_string_copy(subject_attributes_json);
81
exposure->allocation_key = zend_string_copy(allocation_key);
82
exposure->variant = zend_string_copy(variant);
0 commit comments