Re: shell32: Initialize memory to zero in IShellItemArray constructor.

2010-07-29 Thread David Hedberg
On Thu, Jul 29, 2010 at 9:16 PM, Nikolay Sivov wrote: > I don't see a reason for this. If you want to zero two remaining fields do > it explicitly. Also this helper doesn't need WINAPI it seems. > Ok, please ignore this one then, I'll try again.

Re: shell32: Initialize memory to zero in IShellItemArray constructor.

2010-07-29 Thread Nikolay Sivov
On 7/29/2010 22:21, David Hedberg wrote: This is needed as we might, if passed an invalid riid, hit ::Release before we get to initialize array or item_count. --- dlls/shell32/shellitem.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/shell32/shellitem.c b/dlls