From 00455609711cfc94e2488ad5a5012632bcbfee44 Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Thu, 1 Mar 2012 12:12:43 +0000 Subject: how can we be sure the details struct is not null, is this the fix to that memory corruption --- src/mpris2-interfaces.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mpris2-interfaces.vala b/src/mpris2-interfaces.vala index 57b582d..ee86c2b 100644 --- a/src/mpris2-interfaces.vala +++ b/src/mpris2-interfaces.vala @@ -57,7 +57,7 @@ public struct PlaylistDetails{ // Active playlist property container public struct ActivePlaylistContainer{ public bool valid; - public PlaylistDetails details; + public PlaylistDetails? details; } [DBus (name = "org.mpris.MediaPlayer2.Playlists")] -- cgit v1.2.3