app/testpmd: fix exit without freeing resources
[dpdk.git] / app / test-pmd / testpmd.c
index 0c6a50e..36a4701 100644 (file)
@@ -2278,6 +2278,7 @@ main(int argc, char** argv)
                        start_packet_forwarding(0);
                }
                prompt();
+               pmd_test_exit();
        } else
 #endif
        {