Skip to content

Commit

Permalink
auth_xkeys: use the right size when initializing xkeys list
Browse files Browse the repository at this point in the history
(cherry picked from commit 6b82a10)
  • Loading branch information
miconda committed Aug 30, 2017
1 parent 998b9e6 commit ee77f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/auth_xkeys/auth_xkeys.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ int auth_xkeys_list_init(void)
{
if(_auth_xkeys_list!=NULL)
return 0;
_auth_xkeys_list = shm_malloc(sizeof(auth_xkey_t));
_auth_xkeys_list = shm_malloc(sizeof(auth_xkey_t*));
if(_auth_xkeys_list==NULL) {
LM_ERR("no more shared memory\n");
return -1;
Expand Down

0 comments on commit ee77f90

Please sign in to comment.