[vlc-commits] Qt4: fix sizeof mismatch
Rémi Duraffort
git at videolan.org
Thu Jan 2 09:27:51 CET 2014
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Jan 1 18:53:16 2014 +0100| [225a216b7c645f977d0001e041dba267dd3f8b4f] | committer: Rémi Duraffort
Qt4: fix sizeof mismatch
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=225a216b7c645f977d0001e041dba267dd3f8b4f
---
modules/gui/qt4/dialogs/vlm.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt4/dialogs/vlm.cpp b/modules/gui/qt4/dialogs/vlm.cpp
index 47e1b93..64eba98 100644
--- a/modules/gui/qt4/dialogs/vlm.cpp
+++ b/modules/gui/qt4/dialogs/vlm.cpp
@@ -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 );
More information about the vlc-commits
mailing list