diff options
-rw-r--r-- | libhb/decvobsub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/decvobsub.c b/libhb/decvobsub.c index 73401b9f3..009c12e96 100644 --- a/libhb/decvobsub.c +++ b/libhb/decvobsub.c @@ -196,7 +196,7 @@ void decsubClose( hb_work_object_t * w ) { hb_work_private_t * pv = w->private_data; - if ( pv->buf ) + if ( pv && pv->buf ) hb_buffer_close( &pv->buf ); free( w->private_data ); } |