]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
tvhdhomerun: fix memory leak in tvhdhomerun_frontend_update_pids()
authorJaroslav Kysela <perex@perex.cz>
Sun, 14 Feb 2016 17:49:41 +0000 (18:49 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sun, 14 Feb 2016 17:49:41 +0000 (18:49 +0100)
src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c

index 54c29eb86f94e0f8e05eb4bf14fc297a18af998c..b8a0fba1971c58f61d03e5d64b7c0002528bfa9a 100644 (file)
@@ -501,6 +501,7 @@ static void tvhdhomerun_frontend_update_pids( mpegts_input_t *mi, mpegts_mux_t *
   if (wpids.all)
     tvhdhomerun_device_open_pid(hfe, MPEGTS_FULLMUX_PID);
   mpegts_pid_done(&wpids);
+  mpegts_pid_done(&pids);
 }
 
 static idnode_set_t *