diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-07-17 11:56:22 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-07-17 11:56:22 +0300 |
commit | dca2877ad8b5bbfc1db5f8967bb8125c76c87994 (patch) | |
tree | 61226486a10d86bf179a8381ed5c132fdf692c9d | |
parent | cc2d3badf3dedb99e817529599a90d8b77566f05 (diff) | |
download | idest-dca2877ad8b5bbfc1db5f8967bb8125c76c87994.tar.gz idest-dca2877ad8b5bbfc1db5f8967bb8125c76c87994.tar.bz2 |
Bugfix
* src/idop.c (output_list_print): Fix coredump on empty output list.
-rw-r--r-- | src/idop.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |