]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Prevent deadlock-detector leaking memory
authorFlole998 <Flole998@users.noreply.github.com>
Fri, 8 Apr 2022 04:23:26 +0000 (06:23 +0200)
committerGitHub <noreply@github.com>
Fri, 8 Apr 2022 04:23:26 +0000 (06:23 +0200)
src/tvh_thread.c

index 3042649b736f00492981e525842d1cfbcfa2163b..4149ad2bfe17a8ac6471fcbc1312921f0318b39e 100644 (file)
@@ -463,6 +463,7 @@ static void tvh_thread_deadlock_write(htsbuf_queue_t *q)
     tvhdbg(LS_THREAD, "%s", s2);
   }
   if (fd != fd_stderr) close(fd);
+  free(s);
 }
 #endif