diff test/dw_anchors_test.cc @ 2016:8cf59505bd0a

tests cleanup
author corvid <corvid@lavabit.com>
date Sat, 14 May 2011 06:45:42 +0000
parents bfb8bc9ddf62
children 16e52ecf20a8
line wrap: on
line diff
--- a/test/dw_anchors_test.cc	Sat May 14 06:43:17 2011 +0000
+++ b/test/dw_anchors_test.cc	Sat May 14 06:45:42 2011 +0000
@@ -122,6 +122,7 @@
    fontAttrs.weight = 400;
    fontAttrs.style = FONT_STYLE_NORMAL;
    fontAttrs.letterSpacing = 0;
+   fontAttrs.fontVariant = FONT_VARIANT_NORMAL;
 
    StyleAttrs styleAttrs;
    styleAttrs.initValues ();
@@ -156,7 +157,7 @@
    wordStyle->unref ();
    headingStyle->unref ();
    for (int i = 0; i < 10; i++)
-      delete buttonLabel[i];
+      free(buttonLabel[i]);
    delete layout;
 
    return errorCode;