add missing argument for calloc
This commit is contained in:
parent
556d35db5b
commit
bb4131799d
|
@ -7,7 +7,7 @@ pic_open()
|
||||||
{
|
{
|
||||||
pic_state *pic;
|
pic_state *pic;
|
||||||
|
|
||||||
pic = (pic_state *)calloc(sizeof(pic_state));
|
pic = (pic_state *)calloc(1, sizeof(pic_state));
|
||||||
|
|
||||||
return pic;
|
return pic;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue