Skip to content

Commit

Permalink
Fix a memory leak in expect_equal(). Found by Coverity Scan.
Browse files Browse the repository at this point in the history
  • Loading branch information
sesse committed Jan 16, 2013
1 parent f6ccf31 commit 5fea9e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test_util.cpp
Expand Up @@ -196,4 +196,7 @@ void expect_equal(const unsigned char *ref, const unsigned char *result, unsigne
}

expect_equal(ref_float, result_float, width, height, largest_difference_limit, rms_limit);

delete[] ref_float;
delete[] result_float;
}

0 comments on commit 5fea9e6

Please sign in to comment.