ハッシュのfreeの方法を修正
[YACASL2.git] / src / label.c
index cbb27b8..e88cc90 100644 (file)
@@ -168,5 +168,6 @@ void freelabel()
             FREE(p->label);
             FREE(p);
         }
+        labels[i] = NULL;
     }
 }