[grilo-plugins] dmap: add some missing calls to free
- From: Victor Toso <victortoso src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] dmap: add some missing calls to free
- Date: Tue, 3 Mar 2020 08:20:51 +0000 (UTC)
commit 9c72ac842a451dc0644fd7611c18a56e7b97676a
Author: W. Michael Petullo <mike flyn org>
Date: Mon Mar 2 17:55:19 2020 -0500
dmap: add some missing calls to free
Signed-off-by: W. Michael Petullo <mike flyn org>
src/dmap/grl-daap-db.c | 5 +++++
src/dmap/grl-dpap-db.c | 6 ++++++
2 files changed, 11 insertions(+)
---
diff --git a/src/dmap/grl-daap-db.c b/src/dmap/grl-daap-db.c
index c931d917..f4601137 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 02ffd3a8..8be278b9 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]