Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
epg: fix regex leak in query
  • Loading branch information
perexg committed Oct 2, 2014
1 parent e8607d6 commit 5d06c06
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/epg.c
Expand Up @@ -2581,6 +2581,9 @@ epg_query ( epg_query_t *eq )
_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;
Expand Down

0 comments on commit 5d06c06

Please sign in to comment.