[goobox] fixed possible invalid memory free
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goobox] fixed possible invalid memory free
- Date: Sun, 30 Dec 2018 12:09:10 +0000 (UTC)
commit 7b7f0bd862a1bba1855169866ddae89b902677b9
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Dec 30 12:54:21 2018 +0100
fixed possible invalid memory free
src/goo-player.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/goo-player.c b/src/goo-player.c
index 6b65730..7585c56 100644
--- a/src/goo-player.c
+++ b/src/goo-player.c
@@ -598,7 +598,7 @@ get_cd_info_from_device_ready_cb (GObject *source_object,
gpointer user_data)
{
GooPlayer *player = user_data;
- AlbumInfo *album;
+ AlbumInfo *album = NULL;
GError *error = NULL;
if (metadata_get_cd_info_from_device_finish (result,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]