summaryrefslogtreecommitdiffstats
path: root/binding/mediaplayer-manager.c
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-09-05 08:52:30 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2017-09-05 08:52:30 +0000
commitfc2ca7417ce2eefb1a35f19872b181a0f600e99d (patch)
treeaa75557a5ec3512bf6f929578d4a12166f38b1eb /binding/mediaplayer-manager.c
parent866fc80a1010eb14a30ead1685a2066e04a0c473 (diff)
parent0d7fdc1cbaa393a080a6ebab5148156b3c39e74a (diff)
Merge "binding: media: free sqlite3 prepared query statement" into dabdab_4.0.3dab_4.0.2dab_4.0.1dab/4.0.3dab/4.0.2dab/4.0.14.0.34.0.24.0.1dab
Diffstat (limited to 'binding/mediaplayer-manager.c')
-rw-r--r--binding/mediaplayer-manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/binding/mediaplayer-manager.c b/binding/mediaplayer-manager.c
index 6265312..ec10579 100644
--- a/binding/mediaplayer-manager.c
+++ b/binding/mediaplayer-manager.c
@@ -117,6 +117,8 @@ GList* media_lightmediascanner_scan(void)
list = g_list_append(list, g_strdup_printf("file://%s", path));
}
+ sqlite3_finalize(res);
+
return list;
}