summaryrefslogtreecommitdiff
path: root/src/testWidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testWidget.c')
-rw-r--r--src/testWidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testWidget.c b/src/testWidget.c
index 1a7aa97..c966ab9 100644
--- a/src/testWidget.c
+++ b/src/testWidget.c
@@ -7,7 +7,7 @@ BDMWidget * mywidget;
int init (BDMWidget * widget)
{
images = malloc(sizeof(BDMImage));
- texts = malloc(sizeof(BDMText));
+ texts = NULL;
mywidget = widget;
images->attrib = malloc(sizeof(BDMPaintAttribs));