summaryrefslogtreecommitdiffabout
path: root/src/idop.c
authorSergey Poznyakoff <gray@gnu.org.ua>2011-07-17 08:56:22 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-07-17 08:56:22 (GMT)
commitdca2877ad8b5bbfc1db5f8967bb8125c76c87994 (patch) (side-by-side diff)
tree61226486a10d86bf179a8381ed5c132fdf692c9d /src/idop.c
parentcc2d3badf3dedb99e817529599a90d8b77566f05 (diff)
downloadidest-dca2877ad8b5bbfc1db5f8967bb8125c76c87994.tar.gz
idest-dca2877ad8b5bbfc1db5f8967bb8125c76c87994.tar.bz2
Bugfix
* src/idop.c (output_list_print): Fix coredump on empty output list.
Diffstat (limited to 'src/idop.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/idop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/idop.c b/src/idop.c
index fe9c6f5..81e3848 100644
--- a/src/idop.c
+++ b/src/idop.c
@@ -95,6 +95,8 @@ output_list_print()
const void *p;
if (all_frames) {
+ if (!output_list)
+ return;
itr = gl_list_iterator(output_list);
while (gl_list_iterator_next(&itr, &p, NULL)) {
const struct ed_item *item = p;

Return to:

Send suggestions and report system problems to the System administrator.