Commit f2a10028 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

bug fix

parent 6a20d938
......@@ -1182,8 +1182,6 @@ void streamClose(int streamID)
free(streamptr->fnames);
}
stream_delete_entry(streamptr);
if ( vlistID != -1 )
{
if ( streamptr->filemode != 'w' )
......@@ -1194,6 +1192,8 @@ void streamClose(int streamID)
vlistDestroy(vlistID);
}
stream_delete_entry(streamptr);
}
......
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