fixed a memory leak in CNeuralConvolutionalLayer