X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fmovewindow.c;fp=test%2Fmovewindow.c;h=91c7266ad77998834cfe1b499303638342fc08a4;hp=9effda41a4da145f421aa376aa04f7f48d12cad1;hb=a924c24b2535cccdc0f5f991cd8ddcadcfa1f0d2;hpb=3eda6f30a84d53844d2ebceadb457e2e7e9cfbf3 diff --git a/test/movewindow.c b/test/movewindow.c index 9effda41..91c7266a 100644 --- a/test/movewindow.c +++ b/test/movewindow.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2006-2012,2013 Free Software Foundation, Inc. * + * Copyright (c) 2006-2013,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: movewindow.c,v 1.39 2013/05/04 19:41:02 tom Exp $ + * $Id: movewindow.c,v 1.40 2017/04/08 23:01:47 tom Exp $ * * Demonstrate move functions for windows and derived windows from the curses * library. @@ -762,5 +762,8 @@ main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED) wmove(current_win, 0, 0); } endwin(); +#if NO_LEAKS + free(all_windows); +#endif ExitProgram(EXIT_SUCCESS); }