diff --git a/src/caffe/layers/cudnn_lrn_layer.cpp b/src/caffe/layers/cudnn_lrn_layer.cpp index 0495b802baf..3b7985ba0bc 100644 --- a/src/caffe/layers/cudnn_lrn_layer.cpp +++ b/src/caffe/layers/cudnn_lrn_layer.cpp @@ -43,6 +43,8 @@ CuDNNLRNLayer::~CuDNNLRNLayer() { cudnnDestroyTensorDescriptor(bottom_desc_); cudnnDestroyTensorDescriptor(top_desc_); + cudnnDestroyLRNDescriptor(norm_desc_); + // destroy LRN handle cudnnDestroy(handle_); }