Marcus Meissner : quartz: Removed useless NULL check (Coverity).
Alexandre Julliard
julliard at winehq.org
Mon Jun 27 17:41:18 CDT 2011
Module: wine
Branch: master
Commit: 3f426090429e1a18e763a62a330468956c8c3abf
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3f426090429e1a18e763a62a330468956c8c3abf
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Sun Jun 26 16:36:03 2011 +0200
quartz: Removed useless NULL check (Coverity).
---
dlls/quartz/acmwrapper.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/quartz/acmwrapper.c b/dlls/quartz/acmwrapper.c
index 7cdaba6..814bf84 100644
--- a/dlls/quartz/acmwrapper.c
+++ b/dlls/quartz/acmwrapper.c
@@ -230,8 +230,7 @@ error:
ash.pbSrc += ash.cbSrcLengthUsed;
ash.cbSrcLength -= ash.cbSrcLengthUsed;
- if (pOutSample)
- IMediaSample_Release(pOutSample);
+ IMediaSample_Release(pOutSample);
pOutSample = NULL;
}
More information about the wine-cvs
mailing list