comparison libvo/vo_xvidix.c @ 32537:8fa2f43cb760

Remove most of the NULL pointer check before free all over the code
author cboesch
date Sun, 14 Nov 2010 09:12:34 +0000
parents ac7cc5583145
children 899d817e56fc
comparison
equal deleted inserted replaced
32536:187f26cba0ce 32537:8fa2f43cb760
360 { 360 {
361 if (!vo_config_count) 361 if (!vo_config_count)
362 return; 362 return;
363 vidix_term(); 363 vidix_term();
364 364
365 if (vidix_name) 365 free(vidix_name);
366 { 366 vidix_name = NULL;
367 free(vidix_name);
368 vidix_name = NULL;
369 }
370 367
371 vo_x11_uninit(); 368 vo_x11_uninit();
372 } 369 }
373 370
374 static int preinit(const char *arg) 371 static int preinit(const char *arg)