mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 20:01:56 +00:00
Fix build fail
This commit is contained in:
parent
a43f339aa6
commit
b4282a6ee1
1 changed files with 2 additions and 1 deletions
|
@ -87,7 +87,8 @@ const SrsContextId& SrsThreadContext::set_id(const SrsContextId& v)
|
|||
return v;
|
||||
}
|
||||
|
||||
SrsContextId* cid = v.copy();
|
||||
SrsContextId* cid = new SrsContextId();
|
||||
*cid = v;
|
||||
|
||||
if (_srs_context_key < 0) {
|
||||
int r0 = srs_key_create(&_srs_context_key, _srs_context_destructor);
|
||||
|
|
Loading…
Reference in a new issue