I think can see a problem with how valac is generating the C in relation to what Ted mentions above. In current trunk the generated C for playlists-menuitem.vala free's the strings that are used for playlist items. The patch below attempts to duplicate the labels when passing them to dbusmenu.
It would make sense that the culprit is the playlist menuitem. It is the only vala written widget that uses default dbusmenu ui rendering.
I think can see a problem with how valac is generating the C in relation to what Ted mentions above. In current trunk the generated C for playlists- menuitem. vala free's the strings that are used for playlist items. The patch below attempts to duplicate the labels when passing them to dbusmenu.
It would make sense that the culprit is the playlist menuitem. It is the only vala written widget that uses default dbusmenu ui rendering.
I cannot reproduce this here.