MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / rtpe_ctx_free

Function rtpe_ctx_free

modules/rtpengine/rtpengine.c:840–850  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

838}
839
840static void rtpe_ctx_free(void *param)
841{
842 struct rtpe_ctx *ctx = (struct rtpe_ctx *)param;
843 if (ctx) {
844 if (ctx->stats) {
845 rtpe_stats_free(ctx->stats);
846 pkg_free(ctx->stats);
847 }
848 pkg_free(ctx);
849 }
850}
851
852static inline struct rtpe_ctx *rtpe_ctx_get(void)
853{

Callers

nothing calls this directly

Calls 1

rtpe_stats_freeFunction · 0.85

Tested by

no test coverage detected