From c1a545d4d9fadfd3a2e4ec2e7c206ea1822e4533 Mon Sep 17 00:00:00 2001 From: Bill-Gray Date: Wed, 12 Feb 2025 15:07:47 -0500 Subject: [PATCH] 'testcurs' : when using PDC_getclipboard(), the application is responsible for calling PDC_freeclipboard(). --- demos/testcurs.c | 1 + 1 file changed, 1 insertion(+) 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();