[vlc-devel] commit: Fix NULL deref (CID 14) ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat May 31 22:20:11 CEST 2008
vlc | branch: 0.8.6-bugfix | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat May 31 23:21:50 2008 +0300| [f974093894381c73e59c1b22e14ac5b05c2f0387]
Fix NULL deref (CID 14)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f974093894381c73e59c1b22e14ac5b05c2f0387
---
src/control/mediacontrol_util.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/control/mediacontrol_util.c b/src/control/mediacontrol_util.c
index c7133d4..a444cab 100644
--- a/src/control/mediacontrol_util.c
+++ b/src/control/mediacontrol_util.c
@@ -247,9 +247,9 @@ mediacontrol_PlaylistSeq__free( mediacontrol_PlaylistSeq* ps )
int i;
for( i = 0 ; i < ps->size ; i++ )
free( ps->data[i] );
+ free( ps->data );
+ free( ps );
}
- free( ps->data );
- free( ps );
}
mediacontrol_Exception*
More information about the vlc-devel
mailing list