* FIX [broker] fix a type error
@@ -920,7 +920,7 @@ broker(conf *nanomq_conf)
}
#endif
for (size_t i = 0; i < num_ctx; i++) {
- nng_free(works[i], sizeof(sdtruct work));
+ nng_free(works[i], sizeof(struct work));
}
nng_free(works, num_ctx * sizeof(struct work *));
