]> 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:43:35 +0000 (08:43 +0100)
src/epgdb.c

index bc98c6ac409ddab4b7a9fb615bb3de1b5c9356aa..56bd42d59e1cbc9872a0feb6e1b3fa82e540a353 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 */