路过来看看
p->x=(int *)malloc(sizeof(int));
p->y=(int *)malloc(sizeof(int));
p->x[0] = 15;
p->y[0] = 12;
p->x[1] = 15;
p->y[1] = 13;
p->x[2] = 15;
p->y[2] = 14;
p->x[3] = 15;
p->y[3] = 15;
越界了