Просмотр исходного кода

Properly free memory at the end of the test.

Cyril Roelandt лет назад: 13
Родитель
Сommit
4cdf0a494c
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      tests/datawizard/scratch.c

+ 1 - 0
tests/datawizard/scratch.c

@@ -112,6 +112,7 @@ int main(int argc, char **argv)
 		}
 	}
 
+	free(A);
 	return ret;
 
 enodev: