From c1b8f95c2addf595b8de473a8600f1dba3710a69 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 2 Aug 2011 13:00:06 +0300 Subject: [PATCH] gobex: Make use of g_slist_free_full when elements are dynamically-allocated This avoid having to iterate twice in the list to free its elements. --- tools/obex-server-tool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/obex-server-tool.c b/tools/obex-server-tool.c index 3b71ac019..87742ece9 100644 --- a/tools/obex-server-tool.c +++ b/tools/obex-server-tool.c @@ -30,6 +30,8 @@ #include +#include "glib-helper.h" + static GMainLoop *main_loop = NULL; static GSList *clients = NULL; -- 2.47.3