mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-31 19:34:56 +01:00
slsReceiver: avoid potential memory leak around Implementation::generalData
This commit is contained in:
committed by
operator for beamline
parent
64de9f3ad0
commit
f4be0b8efa
@@ -368,7 +368,7 @@ class Implementation : private virtual slsDetectorDefs {
|
||||
void *pRawDataReady{nullptr};
|
||||
|
||||
// class objects
|
||||
GeneralData *generalData;
|
||||
GeneralData *generalData{nullptr};
|
||||
std::vector<std::unique_ptr<Listener>> listener;
|
||||
std::vector<std::unique_ptr<DataProcessor>> dataProcessor;
|
||||
std::vector<std::unique_ptr<DataStreamer>> dataStreamer;
|
||||
|
||||
Reference in New Issue
Block a user