Various fixes
Various fixes for initialisation and packet size allocation
This commit is contained in:
@ -358,7 +358,7 @@ BLFILE *file;
|
||||
return file;
|
||||
}
|
||||
|
||||
if ((file = (BLFILE *)malloc(sizeof(BLFILE))) == NULL)
|
||||
if ((file = (BLFILE *)calloc(1, sizeof(BLFILE))) == NULL)
|
||||
{
|
||||
spinlock_release(&router->fileslock);
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user