@@@ fltfmt mess
[mLib] / struct / t / sym-test.c
index dfc2391..1862a87 100644 (file)
@@ -65,7 +65,7 @@ int main(void)
       if (!n)
        puts("*EMPTY*");
       else {
-       v = malloc(n * sizeof(*v));
+       v = calloc(n, sizeof(*v));
        if (!v) {
          puts("*NOMEM*");
          continue;