summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-01-21 15:05:30 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2014-01-21 15:06:16 +0200
commit57a9c82aca4ab75a44e3d23aa997530d9013a6ad (patch)
tree84cececc94413bad0dc5bdfc30e171da1e8e3816 /plugins
parentffb0356dad848ac98993240fcecde8b37cd2fd8f (diff)
downloadbluez-57a9c82aca4ab75a44e3d23aa997530d9013a6ad.tar.gz
plugins/neard: Use correct service UUID free function
Diffstat (limited to 'plugins')
-rw-r--r--plugins/neard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/neard.c b/plugins/neard.c
index b54675006..f0f9f4f11 100644
--- a/plugins/neard.c
+++ b/plugins/neard.c
@@ -25,6 +25,7 @@
#include <config.h>
#endif
+#include <stdlib.h>
#include <errno.h>
#include <gdbus/gdbus.h>
@@ -77,7 +78,7 @@ struct oob_params {
static void free_oob_params(struct oob_params *params)
{
- g_slist_free_full(params->services, g_free);
+ g_slist_free_full(params->services, free);
g_free(params->name);
g_free(params->hash);
g_free(params->randomizer);