cms-sw/cmssw — pull request #2571 by makortel (2014-02-21 08:06:59+00:00)
Title: Fix segfault in PixelTrackReconstruction

Fixes the segfault reported by Giulio in https://hypernews.cern.ch/HyperNews/CMS/get/swReleases/4012.html. The problem was a spurious delete of ```theRegionProducer``` in ```halt()``` (called from ```PixelTrackProducer::endRun()```), while it is constructed now in the PixelTrackReconstruction constructor. The bug was introduced in 4f569be1 (probably by mistake in rebase or something).

The ```theMerger_``` would have suffered from the same problem, so I changed it too to ```std:unique_ptr```.