Commit 225a216b authored by Rémi Duraffort's avatar Rémi Duraffort

Qt4: fix sizeof mismatch

parent b1d4cd19
......@@ -290,7 +290,7 @@ void VLMDialog::mediasPopulator()
int i_nMedias;
QString typeShortName;
int vlmItemCount;
vlm_media_t ***ppp_dsc = (vlm_media_t ***)malloc( sizeof( vlm_media_t ) );
vlm_media_t ***ppp_dsc = (vlm_media_t ***)malloc( sizeof( vlm_media_t** ) );
/* Get medias information and numbers */
vlm_Control( p_vlm, VLM_GET_MEDIAS, ppp_dsc, &i_nMedias );
......
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