diff --git a/projects/rocprofiler-systems/source/lib/rocprof-sys/library/rocprofiler-sdk.cpp b/projects/rocprofiler-systems/source/lib/rocprof-sys/library/rocprofiler-sdk.cpp index d1fd153635..3b996652b7 100644 --- a/projects/rocprofiler-systems/source/lib/rocprof-sys/library/rocprofiler-sdk.cpp +++ b/projects/rocprofiler-systems/source/lib/rocprof-sys/library/rocprofiler-sdk.cpp @@ -185,6 +185,7 @@ get_stream_id(Tp* _record) auto _region_id = _ecid_data->region_id; _record->correlation_id.external.value = _region_id; delete _ecid_data; + _record->correlation_id.external.ptr = nullptr; } return _stream_id; }