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,6 +298,7 @@ static void* Thread( vlc_object_t* p_this ) ...@@ -298,6 +298,7 @@ static void* Thread( vlc_object_t* p_this )
block_Release( p_block ); block_Release( p_block );
p_block = NULL; p_block = NULL;
} }
else
p_block->i_buffer = i_read; p_block->i_buffer = i_read;
} }
......
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