From edfd9b47a81208db47ff5f9b8d23eac7400bdffa Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 25 Sep 2012 18:10:53 +0300 Subject: [PATCH] core: Add debug logs for external profile registration --- src/profile.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/profile.c b/src/profile.c index 97379a99e..0d082f89b 100644 --- a/src/profile.c +++ b/src/profile.c @@ -124,6 +124,8 @@ static struct ext_profile *create_ext(const char *owner, const char *path, p->name = ext->name; + DBG("External profile %s created", ext->name); + ext_profiles = g_slist_append(ext_profiles, ext); return ext; @@ -133,6 +135,8 @@ static void remove_ext(struct ext_profile *ext) { ext_profiles = g_slist_remove(ext_profiles, ext); + DBG("External profile %s removed", ext->name); + g_free(ext->name); g_free(ext->owner); g_free(ext->uuid); -- 2.47.3