winecfg: Values list should be NULL-terminated.
This commit is contained in:
parent
f3af04a8be
commit
eebfb5c5a2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue