aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test-linearize.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test-linearize.c b/test-linearize.c
index 3b5459e..549d014 100644
--- a/test-linearize.c
+++ b/test-linearize.c
@@ -29,7 +29,8 @@ static void clean_up_symbol(struct symbol *sym, void *_parent, int flags)
evaluate_symbol(sym);
expand_symbol(sym);
ep = linearize_symbol(sym);
- show_entry(ep);
+ if (ep)
+ show_entry(ep);
}
int main(int argc, char **argv)