]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Remove an unnecessary htsmsg_copy() which caused a memory leak.
authorAndreas Öman <andreas@lonelycoder.com>
Sat, 27 Sep 2008 12:10:27 +0000 (12:10 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Sat, 27 Sep 2008 12:10:27 +0000 (12:10 +0000)
webui/comet.c

index cf6b7bde2e467e0d88ed437a8e54c8fe7735f159..6c7626fd16130bfb8708d1cd966abacfadd74281 100644 (file)
@@ -147,7 +147,7 @@ comet_access_update(http_connection_t *hc, comet_mailbox_t *cmb)
 
   if(cmb->cmb_messages == NULL)
     cmb->cmb_messages = htsmsg_create_array();
-  htsmsg_add_msg(cmb->cmb_messages, NULL, htsmsg_copy(m));
+  htsmsg_add_msg(cmb->cmb_messages, NULL, m);
 }
 
 /**