Free a Call reply and all the nested replies it contains if it's an * array. */
| 3977 | /* Free a Call reply and all the nested replies it contains if it's an |
| 3978 | * array. */ |
| 3979 | void RM_FreeCallReply(RedisModuleCallReply *reply) { |
| 3980 | /* This is a wrapper for the recursive free reply function. This is needed |
| 3981 | * in order to have the first level function to return on nested replies, |
| 3982 | * but only if called by the module API. */ |
| 3983 | RedisModuleCtx *ctx = reply->ctx; |
| 3984 | moduleFreeCallReplyRec(reply,0); |
| 3985 | autoMemoryFreed(ctx,REDISMODULE_AM_REPLY,reply); |
| 3986 | } |
| 3987 | |
| 3988 | /* Return the reply type. */ |
| 3989 | int RM_CallReplyType(RedisModuleCallReply *reply) { |
no test coverage detected