remove Mismatched valgrind message in Font
authorSungyeon Woo <s.woo@samsung.com>
Mon, 22 Apr 2013 05:34:14 +0000 (14:34 +0900)
committerSungyeon Woo <s.woo@samsung.com>
Mon, 22 Apr 2013 05:34:14 +0000 (14:34 +0900)
Change-Id: I12994e63d07fc5f3fca9983536d73e18712fac3a
Signed-off-by: Sungyeon Woo <s.woo@samsung.com>
src/graphics/FGrp_FontBidiUtil.cpp

index 2d6a5ca..f5da783 100644 (file)
@@ -295,7 +295,7 @@ _ReorderBidiLine(wchar_t* pText, size_t start, size_t len, const BidiParagraph&
        }
 
        {
-               std::unique_ptr<FriBidiLevel> embeddingLevel(new (std::nothrow) FriBidiLevel[start + textLength]);
+               std::unique_ptr<FriBidiLevel[]> embeddingLevel(new (std::nothrow) FriBidiLevel[start + textLength]);
                FriBidiLevel* pRefEmbeddingLevel = embeddingLevel.get();
 
                CHECK_IF(pRefEmbeddingLevel);