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 /src/idop.c | |
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.
Diffstat (limited to 'src/idop.c')
-rw-r--r-- | src/idop.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -92,12 +92,14 @@ void output_list_print() { gl_list_iterator_t itr; 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; ed_item_print(item); } gl_list_iterator_free(&itr); |