Skip to content

Commit

Permalink
domain: fix typo in pointer allocation
Browse files Browse the repository at this point in the history
Fixes coverity tag 150523
  • Loading branch information
razvancrainea committed Oct 21, 2016
1 parent 3dba8bd commit 8bc93d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/domain/domain_mod.c
Expand Up @@ -256,7 +256,7 @@ static int mod_init(void)
}

hash_table = (struct domain_list ***)shm_malloc
(sizeof(struct domain_list *));
(sizeof(struct domain_list **));
*hash_table = hash_table_1;

if (reload_domain_table() == -1) {
Expand Down

0 comments on commit 8bc93d3

Please sign in to comment.