summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlrknox <lrknox>2018-03-12 19:10:59 (GMT)
committerlrknox <lrknox>2018-03-12 19:10:59 (GMT)
commit5d7c18fcfc14a53f4d6321460463357fbda61f4b (patch)
tree42da572a88bd56001196d7dd288cb757575a83ee
parent6a53c14240872fcc82504fffaa010d754a8c73e0 (diff)
downloadhdf5-5d7c18fcfc14a53f4d6321460463357fbda61f4b.zip
hdf5-5d7c18fcfc14a53f4d6321460463357fbda61f4b.tar.gz
hdf5-5d7c18fcfc14a53f4d6321460463357fbda61f4b.tar.bz2
Remove comparison to NULL for variables to be freed.
-rw-r--r--testpar/t_span_tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testpar/t_span_tree.c b/testpar/t_span_tree.c
index f4de133..3c836ad 100644
--- a/testpar/t_span_tree.c
+++ b/testpar/t_span_tree.c
@@ -662,11 +662,11 @@ void coll_write_test(int chunk_factor)
ret = H5Fclose(file);
VRFY((ret >= 0),"");
- if (vector != NULL)
+ if (vector)
HDfree(vector);
- if (matrix_out != NULL)
+ if (matrix_out)
HDfree(matrix_out);
- if (matrix_out1 != NULL)
+ if (matrix_out1)
HDfree(matrix_out1);
return ;