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

Function alloc_gp

mod_fix.c:69–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69static inline gparam_p alloc_gp(void)
70{
71 gparam_p gp;
72
73 gp = pkg_malloc(sizeof *gp);
74 if (!gp) {
75 LM_ERR("no more pkg memory\n");
76 return NULL;
77 }
78 memset(gp, 0, sizeof *gp);
79
80 return gp;
81}
82
83int check_cmd(const struct cmd_param *params, action_elem_t *elems)
84{

Callers 1

fix_cmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected