diff field.cc @ 143:be127b7d1812

minor fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 23 Jul 2011 10:18:28 +0900 (2011-07-23)
parents 8ac08eda80ac
children d1ddd095ab03
line wrap: on
line diff
--- a/field.cc	Sat Jul 23 05:21:45 2011 +0900
+++ b/field.cc	Sat Jul 23 10:18:28 2011 +0900
@@ -77,6 +77,7 @@
     fflush(stderr);
     exit(EXIT_FAILURE);
   }
+  memset(self, 0, sizeof(Field));
   
   self->object = obj;
   self->next   = NULL;