projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86c2407
)
Write null pointer for unsupported interfaces
author
Dmitry-Me
<wipedout@yandex.ru>
Tue, 2 Feb 2016 07:04:43 +0000
(10:04 +0300)
committer
Dmitry-Me
<wipedout@yandex.ru>
Tue, 2 Feb 2016 07:04:43 +0000
(10:04 +0300)
src/zap/zapwriter.h
patch
|
blob
|
history
diff --git
a/src/zap/zapwriter.h
b/src/zap/zapwriter.h
index
735904b
..
4a2b313
100644
(file)
--- a/
src/zap/zapwriter.h
+++ b/
src/zap/zapwriter.h
@@
-358,6
+358,7
@@
class ZapWriter : public IStream
*ppv = static_cast<IStream *>(this);
}
else {
+ *ppv = NULL;
hr = E_NOINTERFACE;
}
return hr;