Commit 1f8a150d authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cdiStreamSetupVlist: added call to vlist_unlock(vlistID) (bug fix)

parent e83fb5c5
......@@ -2,6 +2,10 @@
* Version 1.7.0 released
2015-08-07 Uwe Schulzweida
* cdiStreamSetupVlist: added call to vlist_unlock(vlistID) (bug fix)
2015-06-16 Uwe Schulzweida
* merge changes from branches/cdi-tiles [from Florian Prill]
......
......@@ -2169,6 +2169,9 @@ void cdiStreamSetupVlist(stream_t *streamptr, int vlistID, int vlistIDorig)
/* increase lock counter of the original vlist by 1 */
if ( CDI_Debug ) Message("attach vlist=%d to stream, stream vlist=%d", vlistIDorig, vlistID);
vlist_lock(vlistIDorig);
vlist_unlock(vlistID); // why is this vlistID sometimes locked?
// without this line "cdo splitmon" gives
// Destroying of a locked object (vlistID=xx) failed
for (int varID = 0; varID < nvars; varID++ )
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment