diff options
Diffstat (limited to 'vidix/ivtv_vid.c')
-rw-r--r-- | vidix/ivtv_vid.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/vidix/ivtv_vid.c b/vidix/ivtv_vid.c index 16e44928af..da946e6c1c 100644 --- a/vidix/ivtv_vid.c +++ b/vidix/ivtv_vid.c @@ -382,10 +382,8 @@ void ivtv_destroy(void) close(yuvdev); if(-1 != fbdev) close(fbdev); - if(NULL != outbuf) - free(outbuf); - if(NULL != memBase) - free(memBase); + free(outbuf); + free(memBase); } int ivtv_get_caps(vidix_capability_t *to) |