MatrixIOBus::Init() instantiates local heap-allocated versions of both BusDirect and BusKernel.
However, only one or zero of these is ever assigned to an external variable that is managed and later deleted. In the case of an initialization error, both will leak, but even on success, one always leaks.
MatrixIOBus::Init() instantiates local heap-allocated versions of both BusDirect and BusKernel.
However, only one or zero of these is ever assigned to an external variable that is managed and later deleted. In the case of an initialization error, both will leak, but even on success, one always leaks.