valgrind: use of uninit data in sw_globalfilter test
Change-Id: I4d327d1e65c8ef5b9dede18ac55f1658d8e3569a
This commit is contained in:
@@ -82,7 +82,7 @@ long ZCodec::EndCompression()
|
|||||||
{
|
{
|
||||||
long retvalue = 0;
|
long retvalue = 0;
|
||||||
|
|
||||||
if (meState != STATE_INIT)
|
if (mbStatus && meState != STATE_INIT)
|
||||||
{
|
{
|
||||||
if (meState == STATE_COMPRESS)
|
if (meState == STATE_COMPRESS)
|
||||||
{
|
{
|
||||||
@@ -106,7 +106,7 @@ long ZCodec::EndCompression()
|
|||||||
delete[] mpInBuf;
|
delete[] mpInBuf;
|
||||||
meState = STATE_INIT;
|
meState = STATE_INIT;
|
||||||
}
|
}
|
||||||
return ( mbStatus ) ? retvalue : -1;
|
return mbStatus ? retvalue : -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
long ZCodec::Compress( SvStream& rIStm, SvStream& rOStm )
|
long ZCodec::Compress( SvStream& rIStm, SvStream& rOStm )
|
||||||
|
Reference in New Issue
Block a user