diff --git a/demos/testcurs.c b/demos/testcurs.c index 8a9f41b9..5d277aff 100644 --- a/demos/testcurs.c +++ b/demos/testcurs.c @@ -927,6 +927,7 @@ void clipboardTest(WINDOW *win) clear(); mvaddstr(1, 1, "Clipboard contents..."); mvprintw(2, 1, "%s\n", ptr); + PDC_freeclipboard( ptr); } Continue2();