Ticket #3692: pthread_leak.patch

File pthread_leak.patch, 490 bytes (added by anonymous, 13 years ago)

Patch to fix the issue

  • libs/libmythtv/dvbrecorder.cpp

    old new  
    13601360    // Start the dummy video thread.
    13611361    _stop_dummy = false;
    13621362    int ret = pthread_create(&_video_thread, NULL, run_dummy_video, this);
     1363    pthread_detach(_video_thread);
    13631364    _dummy_stopped = (0 != ret);
    13641365}
    13651366