mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
avoid null pointer use
Origin commit data
------------------
Branch: ni/coolstream
Commit: e257b06f44
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2024-09-05 (Thu, 05 Sep 2024)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -837,8 +837,10 @@ void writeEventsToFile(const char *epgdir)
|
|||||||
}
|
}
|
||||||
(*e)->saveXML(eventfile);
|
(*e)->saveXML(eventfile);
|
||||||
}
|
}
|
||||||
write_epgxml_footer(eventfile);
|
if (eventfile != NULL) {
|
||||||
fclose(eventfile);
|
write_epgxml_footer(eventfile);
|
||||||
|
fclose(eventfile);
|
||||||
|
}
|
||||||
_done:
|
_done:
|
||||||
unlockEvents();
|
unlockEvents();
|
||||||
write_indexxml_footer(indexfile);
|
write_indexxml_footer(indexfile);
|
||||||
|
Reference in New Issue
Block a user