Commit eade6470 authored by Elvin Sindrilaru's avatar Elvin Sindrilaru
Browse files

XROOTD: Free the error message only if wasn't already freed in the mover_close_file method

parent fca99527
......@@ -548,7 +548,8 @@ XrdxCastor2OfsFile::close()
}
// Free errmsg memory
free(errmsg);
if (errmsg)
free(errmsg);
}
if (gSrv->mLogLevel == LOG_DEBUG)
......
Supports Markdown
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