]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
epgdb: fix memory leak
authorJaroslav Kysela <perex@perex.cz>
Tue, 9 Jan 2018 07:11:26 +0000 (08:11 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 9 Jan 2018 07:11:37 +0000 (08:11 +0100)
src/epgdb.c

index 8457394c848bc32621e2260125ee8c0446a907ea..d0515df0e40c376026f9d5bf9b9da3e7363a6f22 100644 (file)
@@ -400,6 +400,7 @@ void epg_init ( void )
     htsmsg_add_u32(m, "last_id", 64 * 1024 * 1024);
     if (!epg_config_deserialize(m))
       assert(0);
+    htsmsg_destroy(m);
   }
 
   /* Stats */