aboutsummaryrefslogtreecommitdiff
path: root/test/dw_lists.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/dw_lists.cc')
-rw-r--r--test/dw_lists.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dw_lists.cc b/test/dw_lists.cc
index 2d546f63..5558afa1 100644
--- a/test/dw_lists.cc
+++ b/test/dw_lists.cc
@@ -109,7 +109,7 @@ int main(int argc, char **argv)
char buf[16];
sprintf (buf, "%d.", i);
- listItem->initWithText (strdup (buf), wordStyle);
+ listItem->initWithText (buf, wordStyle);
for(int j = 0; wordsItem[j]; j++) {
if(j != 0)