Call FreeCrcBuf earlier (it may do logging)
This commit is contained in:
committed by
Stéphane Lesimple
parent
c7b0f5b592
commit
3be61f4b7b
@@ -718,6 +718,9 @@ void FreeClosure()
|
||||
g_free(Closure->readAdaptiveErrorMsg);
|
||||
#endif /* WITH_GUI_YES */
|
||||
|
||||
if(Closure->crcBuf)
|
||||
FreeCrcBuf(Closure->crcBuf);
|
||||
|
||||
cond_free(Closure->cookedVersion);
|
||||
cond_free(Closure->versionString);
|
||||
cond_free(Closure->device);
|
||||
@@ -741,9 +744,6 @@ void FreeClosure()
|
||||
cond_free(Closure->dDumpDir);
|
||||
cond_free(Closure->dDumpPrefix);
|
||||
|
||||
if(Closure->crcBuf)
|
||||
FreeCrcBuf(Closure->crcBuf);
|
||||
|
||||
if(Closure->logString)
|
||||
g_string_free(Closure->logString, TRUE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user