presence_xml: do not allocate memory before getting presence node
authorDaniel-Constantin Mierla <miconda@gmail.com>
Mon, 31 Jul 2017 13:42:19 +0000 (15:42 +0200)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Mon, 31 Jul 2017 13:54:27 +0000 (15:54 +0200)
commit30166790b1b8addef006c7a933ac2c009a3998e2
treef2970b4c4d7b116e7a8a768648b48a05f999da52
parent30014025157f9ac79c98f1361a86974858ef8022
presence_xml: do not allocate memory before getting presence node

- useless operation in case of error
src/modules/presence_xml/notify_body.c