summaryrefslogtreecommitdiff
path: root/src/cd-profile-db.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cd-profile-db.c')
-rw-r--r--src/cd-profile-db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cd-profile-db.c b/src/cd-profile-db.c
index 5661d09..57ab864 100644
--- a/src/cd-profile-db.c
+++ b/src/cd-profile-db.c
@@ -48,7 +48,7 @@ cd_profile_db_load (CdProfileDb *pdb,
{
CdProfileDbPrivate *priv = GET_PRIVATE (pdb);
const gchar *statement;
- gchar *error_msg = NULL;
+ g_autofree gchar *error_msg = NULL;
gint rc;
g_autofree gchar *path = NULL;