From 343bffafecd4329ce5ae6625fc6b2c1ea9759f36 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 17 Apr 2012 23:25:40 +0000 Subject: Fixed bug in bzip2 double-stop. --- src/stable/bzip2.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/stable/bzip2.cpp b/src/stable/bzip2.cpp index ce83e8a..dd2ed53 100644 --- a/src/stable/bzip2.cpp +++ b/src/stable/bzip2.cpp @@ -47,6 +47,9 @@ void Bu::BZip2::start() Bu::size Bu::BZip2::stop() { TRACE(); + if( !pState ) + return 0; + if( pState->state ) { if( bReading ) -- cgit v1.2.3