Diff between f7138dd76d2b0ec56474c7233ac04dd09166f9b2 and 7c8ac04d890c5ee75b624acbce651058136c0ae7
Changed Files
| File | Additions | Deletions | Status |
| src/gatt-database.c | +1 | -1 | modified |
Full Patch
diff --git a/src/gatt-database.c b/src/gatt-database.c
index a1ae7bd..69a814d 100644
--- a/src/gatt-database.c
+++ b/src/gatt-database.c
@@ -2303,7 +2303,7 @@ static int profile_add(struct external_profile *profile, const char *uuid)
p->remote_uuid = (const void *) g_strdup(uuid);
if (!p->remote_uuid) {
g_free((void *) p->name);
- free((void *) p);
+ free(p);
return -ENOMEM;
}