mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +00:00
fix issue #190
This commit is contained in:
@@ -695,7 +695,7 @@ skynet_sendname(struct skynet_context * context, uint32_t source, const char * a
|
|||||||
if (type & PTYPE_TAG_DONTCOPY) {
|
if (type & PTYPE_TAG_DONTCOPY) {
|
||||||
skynet_free(data);
|
skynet_free(data);
|
||||||
}
|
}
|
||||||
return session;
|
return -1;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
_filter_args(context, type, &session, (void **)&data, &sz);
|
_filter_args(context, type, &session, (void **)&data, &sz);
|
||||||
|
|||||||
Reference in New Issue
Block a user