fixed a memory leak in CNeuralConvolutionalLayer

@lisitsyn Please take a look