diff --git a/programs/wineconsole/curses.c b/programs/wineconsole/curses.c index c5e365c75cf..6e94320ba0a 100644 --- a/programs/wineconsole/curses.c +++ b/programs/wineconsole/curses.c @@ -858,7 +858,7 @@ static void WCCURSES_DeleteBackend(struct inner_data* data) HeapFree(GetProcessHeap(), 0, PRIVATE(data)->line); HeapFree(GetProcessHeap(), 0, PRIVATE(data)); - PRIVATE(data) = NULL; + data->private = NULL; } /******************************************************************