Skip to content

Commit

Permalink
Fix memory leak in kernel unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
vigsterkr committed Jun 16, 2016
1 parent 59c003f commit 63b3ba0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/kernel/Kernel_unittest.cc
Expand Up @@ -455,4 +455,5 @@ TEST(Kernel, gaussian_kernel_width_constructor)
CGaussianKernel* kernel=new CGaussianKernel(width);
EXPECT_EQ(kernel->get_cache_size(), 10);
EXPECT_EQ(kernel->get_width(), width);
SG_UNREF(kernel);
}

0 comments on commit 63b3ba0

Please sign in to comment.