]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
epg: fix regex leak in query
authorJaroslav Kysela <perex@perex.cz>
Thu, 2 Oct 2014 07:21:43 +0000 (09:21 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 2 Oct 2014 07:21:43 +0000 (09:21 +0200)
src/epg.c

index 19d6ca547d928ad42228b909b78d1c28882481d5..44f884940443b3d40cefff67ff8d9fc5caeef89b 100644 (file)
--- a/src/epg.c
+++ b/src/epg.c
@@ -2581,6 +2581,9 @@ fin:
   _eq_done_str(&eq->description);
   _eq_done_str(&eq->channel_name);
 
+  if (eq->stitle)
+    regfree(&eq->stitle_re);
+
   free(eq->lang); eq->lang = NULL;
   free(eq->channel); eq->channel = NULL;
   free(eq->channel_tag); eq->channel_tag = NULL;