summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-09-11 14:24:55 -0300
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-09-11 14:24:55 -0300
commit9593b3b600a60d2859cdc7c41ab700f57c915d2d (patch)
tree756e9236b31103dc489de10ee6c633340b447935
parent2f9fbeeb5931cda983aa72ed9a53b1f22d0aa85d (diff)
Fix memleak
-rw-r--r--src/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index 5c8208de..5348c296 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1021,7 +1021,7 @@ static void init_browse(struct browse_req *req)
(GCompareFunc) strcasecmp))
return;
req->uuids = g_slist_append(req->uuids,
- g_strdup(driver->uuids[i]));
+ driver->uuids[i]);
}
}