c程序在最后return的时候出现错误
程序代码: 87 B = (struct Boun_b*) malloc(sizeof(struct Boun_b));
88 B->edge_max = P->gnx;
89 if(B->edge_max < P->gnz) B->edge_max = P->gnz;
90
91 RETURN_MAIN:
92 if(ierr != 0)
93 {
94 printf("====>> There have some problem when call %s.\n", Position);
95 }
96
97 if(fpm != NULL) fclose(fpm);
98 if(fpr != NULL) fclose(fpr);
99 printf("...\n"); //可以输出
100 return ;
101 printf("...\n"); // 无法输出
102 }运行程序后出现Segmentation fault (core dumped)
经过查找就是在return的时候出现问题,这个是什么原因导致的?

