]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print.c
Note that interfaces may have numerical names.
[tcpdump] / print.c
diff --git a/print.c b/print.c
index 9fedd9fba2b0e19b054413ee021c510eb2a859b7..3a060d4158ccf248ad52f63e50aaaec444b59716 100644 (file)
--- a/print.c
+++ b/print.c
@@ -429,6 +429,7 @@ ndo_error(netdissect_options *ndo, const char *fmt, ...)
                if (fmt[-1] != '\n')
                        (void)fputc('\n', stderr);
        }
+       nd_cleanup();
        exit(1);
        /* NOTREACHED */
 }