]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
epggrab: fix leak in epggrab_module_ch_save()
authorJaroslav Kysela <perex@perex.cz>
Tue, 21 Oct 2014 11:41:39 +0000 (13:41 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 21 Oct 2014 11:41:39 +0000 (13:41 +0200)
src/epggrab/module.c

index 923ceb72fd19153db7f602a8492e590ff44dc7c8..ae48180a453caa4b6ec931f5aedc4371e5cba3d2 100644 (file)
@@ -167,6 +167,7 @@ void epggrab_module_ch_save ( void *_m, epggrab_channel_t *ch )
     htsmsg_add_u32(m, "number", ch->number);
 
   hts_settings_save(m, "epggrab/%s/channels/%s", mod->id, ch->id);
+  htsmsg_destroy(m);
 }
 
 void epggrab_module_ch_add ( void *m, channel_t *ch )