grilo-plugins: update to 0.3.11

Backports patches from grilo-plugins master to support libdmapshare's
4.0 API.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
This commit is contained in:
W. Michael Petullo
2020-03-03 08:18:48 -05:00
committed by Eneas U de Queiroz
parent cfbff483af
commit 5cfea02d62
4 changed files with 2776 additions and 4 deletions
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,33 @@
diff --git a/src/dmap/grl-daap-db.c b/src/dmap/grl-daap-db.c
index c931d91..f460113 100644
--- a/src/dmap/grl-daap-db.c
+++ b/src/dmap/grl-daap-db.c
@@ -232,6 +232,11 @@ grl_daap_db_add (DMAPDb *_db, DMAPRecord *_record)
g_free (id_s);
g_object_unref (media);
+ g_free(album);
+ g_free(artist);
+ g_free(genre);
+ g_free(title);
+ g_free(url);
return --nextid;
}
diff --git a/src/dmap/grl-dpap-db.c b/src/dmap/grl-dpap-db.c
index 02ffd3a..8be278b 100644
--- a/src/dmap/grl-dpap-db.c
+++ b/src/dmap/grl-dpap-db.c
@@ -177,6 +177,12 @@ grl_dpap_db_add (DMAPDb *_db, DMAPRecord *_record)
g_free (id_s);
g_object_unref (media);
+ g_free(filename);
+ g_free(aspectratio);
+ g_free(format);
+ g_free(comments);
+ g_free(url);
+ g_byte_array_unref(thumbnail);
return --nextid;
}
File diff suppressed because it is too large Load Diff