Mailing List Archive

[MythTV/mythtv] ba1d68: Segfault of mythtv-setup on SatIP channel scan Exit
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: ba1d6831e50a14a72cf245dff86fc436b680d806
https://github.com/MythTV/mythtv/commit/ba1d6831e50a14a72cf245dff86fc436b680d806
Author: Klaas de Waal <klaas@kldo.nl>
Date: 2023-06-15 (Thu, 15 Jun 2023)

Changed paths:
M mythtv/libs/libmythtv/recorders/satipstreamhandler.cpp
M mythtv/libs/libmythtv/recorders/satipstreamhandler.h

Log Message:
-----------
Segfault of mythtv-setup on SatIP channel scan Exit

Add a destructor for the SatIPStreamHandler so that it does
delete the SatIPControlReadHelper and SatIPDataReadHelper.
Disconnect the ReadPending callback for both helpers on delete.
This fixes memory-related issues such as a segfault when
stopping the channel scan with the Exit button


_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits