[telepathy-gabble/master] Free some memory allocated by gabble for debugging

Sjoerd Simons sjoerd.simons at collabora.co.uk
Fri Dec 18 06:22:26 PST 2009


---
 tests/test-presence.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/tests/test-presence.c b/tests/test-presence.c
index 4da4577..2abdda6 100644
--- a/tests/test-presence.c
+++ b/tests/test-presence.c
@@ -6,6 +6,7 @@
 
 #include <glib.h>
 
+#include "src/debug.h"
 #include "src/presence.h"
 #include "src/namespaces.h"
 
@@ -157,6 +158,10 @@ int main (int argc, char **argv)
 
   gabble_capabilities_finalize (NULL);
 
+  /* The capabilities code will have initialized the debugging infrastructure
+   */
+  gabble_debug_free ();
+
   return 0;
 }
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list