Re: [Gdiplus 01/16] Valgrind: fix warnings about using uninitialized memory, and leaking memory
3 Jul
2008
3 Jul
'08
10:43 a.m.
Adam Petaccia <adam(a)tpetaccia.com> writes:
@@ -152,6 +154,8 @@ static void test_fontfamily (void) WCHAR itsName[LF_FACESIZE]; GpStatus stat;
+ ZeroMemory(itsName, sizeof(itsName)); +
Clearing buffers is almost always a sign that you are hiding a bug. Please fix it properly instead. -- Alexandre Julliard julliard(a)winehq.org
6374
Age (days ago)
6374
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard