提交 c537fc6f authored 作者: William King's avatar William King

Fixing leak in presense where the contact header doesn't include the fs_path…

Fixing leak in presense where the contact header doesn't include the fs_path option during a presense subscription
上级 c3711b81
......@@ -1455,7 +1455,10 @@ char *sofia_glue_get_path_from_contact(char *buf)
}
}
if (!path) return NULL;
if (!path) {
free(contact);
return NULL;
}
if ((e = strrchr(path, ';'))) {
*e = '\0';
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论