diff options
author | Matt Turner <mattst88@gmail.com> | 2011-09-26 22:35:48 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2011-09-27 22:48:21 -0400 |
commit | 1036e32e006d496023553ea566cb13ae93933719 (patch) | |
tree | 8d20c71fed14ed2883fc883065272eb68ae2ee3c /src/mga_video.c | |
parent | ee09a9a340f8946f2d4a71a431b64189dbb5c256 (diff) |
Remove if(E != NULL) checks around free(E)
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mga_video.c')
-rw-r--r-- | src/mga_video.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mga_video.c b/src/mga_video.c index beb5a3c..784e7b1 100644 --- a/src/mga_video.c +++ b/src/mga_video.c @@ -146,8 +146,7 @@ void MGAInitVideo(ScreenPtr pScreen) if(num_adaptors) xf86XVScreenInit(pScreen, adaptors, num_adaptors); - if(newAdaptors) - free(newAdaptors); + free(newAdaptors); } /* client libraries expect an encoding */ |