Commit 1ad673fb authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

Qt: Avoid uninitialized records in option array

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 1dc8bb49
......@@ -221,7 +221,7 @@ int Open::openMRLwithOptions( intf_thread_t* p_intf,
for( int j = 0; j < options->count(); j++ ) {
QString option = colon_unescape( options->at(j) );
if( !option.isEmpty() ) {
ppsz_options[j] = strdup(qtu(option));
ppsz_options[i_options] = strdup(qtu(option));
i_options++;
}
}
......
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