Skip to content
Snippets Groups Projects
Commit 90c4cfd6 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

streamOpenID: release memory of streamptr if streamOpenDelegate failed.

parent 4fce996c
No related branches found
No related tags found
2 merge requests!34Version 2.2.0,!31M214003/develop
......@@ -634,6 +634,7 @@ streamOpenID(const char *filename, char filemode, int filetype, int resH)
streamID = fileID;
if (streamptr->record) Free(streamptr->record);
reshRemove(streamptr->self, &streamOps);
Free(streamptr);
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment