fix a bunch of memory leaks
[ardour.git] / libs / ardour / diskstream.cc
index 87a71b8dbe8c03df2442ca6540e686fd70b79836..0e05ffabf488e588da9b123764002a21a4a55346 100644 (file)
@@ -437,7 +437,13 @@ Diskstream::set_name (const string& str)
                playlist()->set_name (str);
                SessionObject::set_name(str);
        }
-        return true;
+       return true;
+}
+
+bool
+Diskstream::set_write_source_name (const std::string& str) {
+       _write_source_name = str;
+       return true;
 }
 
 XMLNode&
@@ -738,4 +744,3 @@ Diskstream::disengage_record_enable ()
 {
        g_atomic_int_set (&_record_enabled, 0);
 }
-