tvheadend/tvheadend — pull request #157 by mikrohard (2012-10-03 10:32:26+00:00)
Title: xmltv_load_grabbers - only call closedir when opendir was successfull

I'm working on an android build and it crashes here if opendir returns NULL. Not sure if this is also an issue on other systems.