Don't check pointers for NULL before deleting them
authorPhil Miller <mille121@illinois.edu>
Thu, 27 Aug 2009 23:23:21 +0000 (23:23 +0000)
committerPhil Miller <mille121@illinois.edu>
Thu, 27 Aug 2009 23:23:21 +0000 (23:23 +0000)
commit0e91f3e1048c66934594f97e2f97b49b0396b7c1
treef412a08319b119f93e6a1b89c567e5866fb5a0f8
parent5eb8e547467d1ed03ae157ef054a96648e2bef07
Don't check pointers for NULL before deleting them

Per the C++ FAQ-Lite, this is pointless and potentially harmful:
http://www.parashift.com/c++-faq-lite/freestore-mgmt.html
17 files changed:
doc/charm++/pup.tex
examples/ParFUM/globalExample/pgm.C
examples/charm++/cell/jacobi/jacobi.C
examples/fem/adapt/test/pgm.C
src/ck-perf/trace-counter.C
src/conv-com/routerstrategy.C
src/libs/ck-libs/ParFUM/ParFUM_Mesh_Modify.h
src/libs/ck-libs/ParFUM/ParFUM_SA.h
src/libs/ck-libs/ParFUM/ParFUM_internals.h
src/libs/ck-libs/ParFUM/adapt_algs.C
src/libs/ck-libs/ParFUM/mesh.C
src/libs/ck-libs/ParFUM/symmetries.C
src/libs/ck-libs/ampi/ampiOneSided.C
src/libs/ck-libs/fem/fem_mesh.h
src/libs/ck-libs/fem/symmetries.C
src/util/ckbitvector.C
src/xlat-i/xi-symbol.h