We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 47d9ec9 + eecb094 commit 18bcadaCopy full SHA for 18bcada
modules/usrloc/ul_mod.c
@@ -424,7 +424,7 @@ static int mod_init(void)
424
425
if (cluster_mode != CM_NONE || rr_persist == RRP_LOAD_FROM_SQL) {
426
cid_keys = pkg_malloc(max_contact_delete *
427
- (sizeof(db_key_t) * sizeof(db_val_t)));
+ (sizeof(db_key_t) + sizeof(db_val_t)));
428
if (cid_keys == NULL) {
429
LM_ERR("no more pkg memory\n");
430
return -1;
0 commit comments