]> git.sesse.net Git - pgn-extract/commitdiff
Do not rely on malloc zeroing memory.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 10 Dec 2014 23:59:06 +0000 (00:59 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 12 Dec 2014 21:56:56 +0000 (22:56 +0100)
decode.c

index fa87d3d9b52ad6d5118e4b6e0104bbadbbc644b6..40fc3c881cf6516075dd614ea974252d5cdbf46c 100644 (file)
--- a/decode.c
+++ b/decode.c
@@ -135,6 +135,7 @@ new_move_structure(void)
 
     move->terminating_result = NULL;
     move->epd = NULL;
+    move->bpfen = NULL;
     move->Nags = NULL;
     move->Comment = NULL;
     move->Variants = NULL;