Commit 636a434c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Timeshift: fix crash on I/O error (CID#157)

parent bd587fbb
...@@ -298,7 +298,8 @@ static void* Thread( vlc_object_t* p_this ) ...@@ -298,7 +298,8 @@ static void* Thread( vlc_object_t* p_this )
block_Release( p_block ); block_Release( p_block );
p_block = NULL; p_block = NULL;
} }
p_block->i_buffer = i_read; else
p_block->i_buffer = i_read;
} }
if( p_block == NULL ) if( p_block == NULL )
......
Markdown is supported
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