projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed bug where an empty chart (one with no data) would crash.
[pspp]
/
src
/
output
/
driver.c
diff --git
a/src/output/driver.c
b/src/output/driver.c
index 6f72ffe739aca687e07bfbd1bb4a92be5c1fd92d..81ef6690e5bcf3de7f88fcab4325ed4b3eeb0f69 100644
(file)
--- a/
src/output/driver.c
+++ b/
src/output/driver.c
@@
-159,6
+159,9
@@
output_submit (struct output_item *item)
{
struct output_engine *e = engine_stack_top ();
+ if (item == NULL)
+ return;
+
if (is_syntax_item (item))
{
ds_put_cstr (&e->deferred_syntax, text_item_get_text (to_text_item (item)));