Skip to content

Commit

Permalink
Merge pull request #681 from shiningstarj/dialoginfo-memory-leak
Browse files Browse the repository at this point in the history
Presence_dialoginfo: Fix memory leaks in notify_body.c
(cherry picked from commit ab5cd61)
  • Loading branch information
bogdan-iancu committed Dec 4, 2015
1 parent 88bd36b commit ee99ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/presence_dialoginfo/notify_body.c
Expand Up @@ -415,7 +415,7 @@ str* build_dialoginfo(str* pres_user, str* pres_domain)
if(body == NULL)
{
LM_ERR("while allocating memory\n");
return NULL;
goto error;
}
memset(body, 0, sizeof(str));

Expand Down

0 comments on commit ee99ac7

Please sign in to comment.