cms-sw/cmssw — pull request #630 by ktf (2013-08-27 12:01:01+00:00)
Title: Misc memory related fixes.

- No need for check the ptr to be different than 0 when using delete:
delete 0 is a noop.
- Fix minor leak, reported by valgrind and in CMSSW since ~ever,
where a new [] was not followed by a delete[].