winecfg: Values list should be NULL-terminated.

This commit is contained in:
Kirill K. Smirnov 2007-08-06 19:07:31 +04:00 committed by Alexandre Julliard
parent f3af04a8be
commit eebfb5c5a2
1 changed files with 1 additions and 0 deletions

View File

@ -638,6 +638,7 @@ char **enumerate_values(HKEY root, char *path)
lstrlenW(wret[i]) + 1, NULL, NULL);
HeapFree(GetProcessHeap(), 0, wret[i]);
}
ret[len] = NULL;
}
HeapFree(GetProcessHeap(), 0, wpath);