api_epg.c: initialize safeptr to NULL

src/api/api_epg.c:37:14: Error: >>safeptr<< may be used unitialized in this function