質問編集履歴
1
LINK_st -> LIST_st タイプミス修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -25,7 +25,7 @@
|
|
25
25
|
//ポインタを定義(前後のコードの関係上ダブルポインタで設計しています。。)
|
26
26
|
const LIST_st **InList = NULL;
|
27
27
|
//LISTの数だけメモリを確保
|
28
|
-
InList = (const LIST_st**)malloc(sizeof(
|
28
|
+
InList = (const LIST_st**)malloc(sizeof(LIST_st*) * (LIST_NUM));
|
29
29
|
if(InList == NULL)
|
30
30
|
{
|
31
31
|
abort();
|