浏览代码

add missing free

Samuel Thibault 10 年之前
父节点
当前提交
607299a29b
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      tests/datawizard/in_place_partition.c

+ 2 - 1
tests/datawizard/in_place_partition.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2011  Université de Bordeaux
+ * Copyright (C) 2011, 2015  Université de Bordeaux
  *
  * StarPU is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -91,6 +91,7 @@ int main(int argc, char **argv)
 			ret = EXIT_FAILURE;
 		}
 	}
+	free(foo);
 
         return ret;