bugfix: double free

This commit is contained in:
云风
2012-10-26 22:36:05 +08:00
parent 0ff2cf604c
commit 88c2af4884

View File

@@ -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);
}
}