andoma/tvheadend — pull request #76 by terual (2012-03-14 09:37:14+00:00)
Title: added regfree()s to epg_query0

I am not sure if it is necessary to regfree after a failed regcomp (first regfree).
I am also not sure if it is necessary to check for prog != NULL with the second and third regfree.
The fourth regfree needs a check for prog != NULL.