Timeline: Fix error in reference counting of newly recorded clips.

pull/116/head
Jonathan Moore Liles 2013-10-25 18:35:30 -07:00
parent d795a484f0
commit 13c3ca8eb8
2 changed files with 1 additions and 3 deletions

View File

@ -147,8 +147,6 @@ done:
_open_files[ std::string( filename ) ] = a;
a->_refs = 1;
return a;
}

View File

@ -72,7 +72,7 @@ public:
_path =_filename = NULL;
_samplerate = 0;
_length = _channels = 0;
_refs = 0;
_refs = 1;
}
virtual ~Audio_File ( );