Skip to content

Commit

Permalink
Fix leak in Random_unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
vigsterkr committed Jun 6, 2013
1 parent 1648596 commit 8d8eabd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/mathematics/Random_unittest.cc
Expand Up @@ -37,6 +37,7 @@ TEST(Random, fill_array_uint32)
uint32_t t = 2228230814U;
SGVector<uint32_t> rv(2*SFMT_N32+1);
prng->fill_array(rv.vector, rv.vlen);
SG_UNREF(prng);

EXPECT_EQ(t, rv[SFMT_N32]);
}
Expand Down

0 comments on commit 8d8eabd

Please sign in to comment.