Free a Call reply and all the nested replies it contains if it's an * array. */
| 3889 | /* Free a Call reply and all the nested replies it contains if it's an |
| 3890 | * array. */ |
| 3891 | void RM_FreeCallReply(RedisModuleCallReply *reply) { |
| 3892 | /* This is a wrapper for the recursive free reply function. This is needed |
| 3893 | * in order to have the first level function to return on nested replies, |
| 3894 | * but only if called by the module API. */ |
| 3895 | RedisModuleCtx *ctx = reply->ctx; |
| 3896 | moduleFreeCallReplyRec(reply,0); |
| 3897 | autoMemoryFreed(ctx,REDISMODULE_AM_REPLY,reply); |
| 3898 | } |
| 3899 | |
| 3900 | /* Return the reply type. */ |
| 3901 | int RM_CallReplyType(RedisModuleCallReply *reply) { |
no test coverage detected