Public feed #378142

Untitled

public text v1 · immutable
Raw Edit
·published 2007-03-02 09:11 UTC
rendered paste body
Index: plugins/audiocd/rb-audiocd-plugin.c
===================================================================
--- plugins/audiocd/rb-audiocd-plugin.c (révision 4881)
+++ plugins/audiocd/rb-audiocd-plugin.c (copie de travail)
@@ -143,12 +143,14 @@
 {
        RBRemovableMediaManager *rmm = NULL;
        RBSource *source;
+       gchar *device_path;
 
        g_object_get (G_OBJECT (plugin->shell),
                      "removable-media-manager", &rmm,
                      NULL);
-
-       rb_debug ("checking audiocd for %s", gnome_vfs_volume_get_device_path (v
olume));
+       device_path = gnome_vfs_volume_get_device_path (volume);
+       rb_debug ("checking audiocd for %s", device_path);
+       g_free (device_path);
        source = create_source_cb (rmm, volume, plugin);
        if (source) {
                rb_debug ("creating audio cd source behind RMMs back for %p", vo
lume);