From fda6a1e6fe15fab9c9be41358cd6e409e8061647 Mon Sep 17 00:00:00 2001 From: "thestig@chromium.org" Date: Thu, 16 Sep 2010 01:24:32 +0000 Subject: Add a free() to ExceptionHandlerTest.ChildCrash. Review URL: http://breakpad.appspot.com/193001 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@687 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/client/linux/handler/exception_handler_unittest.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/client/linux/handler') diff --git a/src/client/linux/handler/exception_handler_unittest.cc b/src/client/linux/handler/exception_handler_unittest.cc index 63351fa5..731207a8 100644 --- a/src/client/linux/handler/exception_handler_unittest.cc +++ b/src/client/linux/handler/exception_handler_unittest.cc @@ -126,6 +126,7 @@ TEST(ExceptionHandlerTest, ChildCrash) { ASSERT_EQ(stat(minidump_filename.c_str(), &st), 0); ASSERT_GT(st.st_size, 0u); unlink(minidump_filename.c_str()); + free(filename); } static const unsigned kControlMsgSize = -- cgit v1.2.1