You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
810 B

  1. diff --git a/src/dmap/grl-daap-db.c b/src/dmap/grl-daap-db.c
  2. index c931d91..f460113 100644
  3. --- a/src/dmap/grl-daap-db.c
  4. +++ b/src/dmap/grl-daap-db.c
  5. @@ -232,6 +232,11 @@ grl_daap_db_add (DMAPDb *_db, DMAPRecord *_record)
  6. g_free (id_s);
  7. g_object_unref (media);
  8. + g_free(album);
  9. + g_free(artist);
  10. + g_free(genre);
  11. + g_free(title);
  12. + g_free(url);
  13. return --nextid;
  14. }
  15. diff --git a/src/dmap/grl-dpap-db.c b/src/dmap/grl-dpap-db.c
  16. index 02ffd3a..8be278b 100644
  17. --- a/src/dmap/grl-dpap-db.c
  18. +++ b/src/dmap/grl-dpap-db.c
  19. @@ -177,6 +177,12 @@ grl_dpap_db_add (DMAPDb *_db, DMAPRecord *_record)
  20. g_free (id_s);
  21. g_object_unref (media);
  22. + g_free(filename);
  23. + g_free(aspectratio);
  24. + g_free(format);
  25. + g_free(comments);
  26. + g_free(url);
  27. + g_byte_array_unref(thumbnail);
  28. return --nextid;
  29. }