X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fplot-chart.c;h=ae90a7e3933b66c1abdea019f7f824e89e31450c;hb=4848cff524922cc77ed21662406807471e96a68e;hp=795e3113a8da141d428c8a832194557ef47cf8fd;hpb=2c4c4a789e9c23478bce195d2ed98bab6064dfc1;p=pspp diff --git a/src/plot-chart.c b/src/plot-chart.c index 795e3113a8..ae90a7e393 100644 --- a/src/plot-chart.c +++ b/src/plot-chart.c @@ -188,7 +188,8 @@ chart_submit(struct chart *chart) { struct som_entity s; - assert(chart); + if ( ! chart ) + return ; pl_restorestate_r(chart->lp);