Skip to content

Commit b1dea01

Browse files
committed
Work in progress
1 parent 625e3f9 commit b1dea01

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/common/tests/CommonUtilsUT.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3263,8 +3263,10 @@ TEST_F(CommonUtilsTest, CrashHandler)
32633263
ParseLogForPreviousCrashIfAny(m_path, &marker, &stack, log);
32643264
EXPECT_NE(nullptr, marker);
32653265
EXPECT_NE(nullptr, stack);
3266-
OsConfigLogInfo(log, "Crash: %s", *marker);
3267-
OsConfigLogInfo(log, "Stack: %s", *stack);
3266+
OsConfigLogInfo(log, "Crash: %s", marker);
3267+
OsConfigLogInfo(log, "Stack: %s", stack);
3268+
FREE_MEMORY(marker);
3269+
FREE_MEMORY(stack);
32683270

32693271
CloseLog(&log);
32703272
EXPECT_TRUE(Cleanup(m_path));

0 commit comments

Comments
 (0)