Skip to content

Commit

Permalink
'testcurs' : when using PDC_getclipboard(), the application is respon…
Browse files Browse the repository at this point in the history
…sible for calling PDC_freeclipboard().
  • Loading branch information
Bill-Gray committed Feb 12, 2025
1 parent 5a61709 commit c1a545d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions demos/testcurs.c
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,7 @@ void clipboardTest(WINDOW *win)
clear();
mvaddstr(1, 1, "Clipboard contents...");
mvprintw(2, 1, "%s\n", ptr);
PDC_freeclipboard( ptr);
}

Continue2();
Expand Down

0 comments on commit c1a545d

Please sign in to comment.