From 56fd3dd178702aa8484a1e8a69a822ebb9b22499 Mon Sep 17 00:00:00 2001 From: Guenael Date: Thu, 23 Dec 2021 17:54:28 -0500 Subject: [PATCH] fix: pthread NULL not required --- rtlsdr_wsprd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/rtlsdr_wsprd.c b/rtlsdr_wsprd.c index 4c00df9..ae6e021 100644 --- a/rtlsdr_wsprd.c +++ b/rtlsdr_wsprd.c @@ -1133,7 +1133,6 @@ int main(int argc, char **argv) { /* Destroy the lock/cond/thread */ pthread_cond_destroy(&decState.ready_cond); pthread_mutex_destroy(&decState.ready_mutex); - pthread_exit(NULL); printf("Bye!\n");