This commit is contained in:
Cloud Wu
2014-10-28 16:48:35 +08:00
parent 01e1a6aafa
commit 954625a530

View File

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