MCPcopy Create free account
hub / github.com/F-Stack/f-stack / RM_FreeCallReply

Function RM_FreeCallReply

app/redis-6.2.6/src/module.c:3891–3898  ·  view source on GitHub ↗

Free a Call reply and all the nested replies it contains if it's an * array. */

Source from the content-addressed store, hash-verified

3889/* Free a Call reply and all the nested replies it contains if it's an
3890 * array. */
3891void 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. */
3901int RM_CallReplyType(RedisModuleCallReply *reply) {

Callers 1

autoMemoryCollectFunction · 0.85

Calls 2

moduleFreeCallReplyRecFunction · 0.85
autoMemoryFreedFunction · 0.85

Tested by

no test coverage detected