X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fchart.c;h=49819e9fe03cc4073242ae97d05b77365c7e78a2;hb=90a74c873f5dc594ac9bb6b1b347bf12b1c00319;hp=9ae12f9c3105c600cea0a2bed692a8dea824908c;hpb=6b40f1315cf46ca2417c10ce08bcf62941bdd305;p=pspp-builds.git diff --git a/src/output/chart.c b/src/output/chart.c index 9ae12f9c..49819e9f 100644 --- a/src/output/chart.c +++ b/src/output/chart.c @@ -29,12 +29,12 @@ #include -#include #include #include #include #include "error.h" +#include "xalloc.h" #include "gettext.h" #define _(msgid) gettext (msgid) @@ -52,6 +52,7 @@ chart_create(void) return NULL; chart = xmalloc (sizeof *chart); + chart->lp = NULL; d->class->initialise_chart(d, chart); if (!chart->lp) {