mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
bugfix: double free
This commit is contained in:
@@ -231,5 +231,7 @@ skynet_multicast_cast(struct skynet_context * from, struct skynet_multicast_mess
|
||||
}
|
||||
}
|
||||
|
||||
skynet_multicast_copy(msg, -release);
|
||||
if (release != 0) {
|
||||
skynet_multicast_copy(msg, -release);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user