changeset 314:ba9c3555e92f src

in dvdnav_describe_title_chapters() init *times to NULL, so if something fails we don't leave the ptr uninited
author nicodvb
date Thu, 29 Nov 2007 23:09:59 +0000
parents 152e19b2b6a1
children 9abc06e356ff
files searching.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/searching.c	Wed Nov 28 23:19:00 2007 +0000
+++ b/searching.c	Thu Nov 29 23:09:59 2007 +0000
@@ -561,6 +561,7 @@
   cell_playback_t *cell;
   uint64_t length, *tmp=NULL;
 
+  *times = NULL;
   pthread_mutex_lock(&this->vm_lock);
   if(!this->vm->vmgi) {
     printerr("Bad VM state or missing VTSI.");