telepathy-logger: log-store-xml: fix reason leaks

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Mon Sep 30 05:06:33 PDT 2013


Module: telepathy-logger
Branch: master
Commit: ce1aefeb329be9504992078c30aad9d5b034fa1d
URL:    http://cgit.freedesktop.org/telepathy/telepathy-logger/commit/?id=ce1aefeb329be9504992078c30aad9d5b034fa1d

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Mon Sep 30 12:20:37 2013 +0200

log-store-xml: fix reason leaks

---

 telepathy-logger/log-store-xml.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/telepathy-logger/log-store-xml.c b/telepathy-logger/log-store-xml.c
index b5d234c..fc2fbfd 100644
--- a/telepathy-logger/log-store-xml.c
+++ b/telepathy-logger/log-store-xml.c
@@ -1245,6 +1245,8 @@ parse_call_node (TplLogStoreXml *self,
   xmlFree (actor_type);
   xmlFree (actor_avatar_token);
   xmlFree (duration_str);
+  xmlFree (reason_str);
+  xmlFree (detailed_reason);
 
   return event;
 }



More information about the telepathy-commits mailing list