]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix memory leak
authorFlole998 <Flole998@users.noreply.github.com>
Wed, 10 Jun 2020 21:27:21 +0000 (23:27 +0200)
committerGitHub <noreply@github.com>
Wed, 10 Jun 2020 21:27:21 +0000 (23:27 +0200)
src/epggrab/module/xmltv.c

index fa36640f7e128a7d57968ac92d00036a3bed8365..6f09f3e18a13f3ca6d7c213b529da838b9b7433d 100644 (file)
@@ -220,6 +220,7 @@ static void parse_xmltv_dd_progid
       if (buf[e+1]) sscanf(&buf[e+1], "%hu", &(epnum->e_num));
     }
   }
+  free(buf);
 }
 
 /**