Remove an unnecessary htsmsg_copy() which caused a memory leak.
This commit is contained in:
parent
1b694820ec
commit
30ba9d3ce3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue