diff options
author | Matt Turner <mattst88@gmail.com> | 2010-06-09 01:56:27 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2010-06-09 01:56:27 -0400 |
commit | b333d1751eab5aaff9fb5764c4b7b6250f78d145 (patch) | |
tree | efba332da9aea48e6ccdfc902c6070e90463c3fc | |
parent | 415b727c6a91bd788436f848bd7828930f2019e2 (diff) |
Remove another superfluous if(p) check around free(p)
Signed-off-by: Matt Turner <mattst88@gmail.com>
-rw-r--r-- | src/pm2_video.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pm2_video.c b/src/pm2_video.c index c9f6c05..58e4541 100644 --- a/src/pm2_video.c +++ b/src/pm2_video.c @@ -183,10 +183,8 @@ static AdaptorPrivPtr AdaptorPrivList = NULL; #define FreeCookies(pPPriv) \ do { \ - if ((pPPriv)->pCookies) { \ - free((pPPriv)->pCookies); \ + free((pPPriv)->pCookies); \ (pPPriv)->pCookies = NULL; \ - } \ } while (0) #define PORTNUM(p) ((int)((p) - &pAPriv->Port[0])) |