Coverity CID 2039: Plug memory leak.

This commit is contained in:
christos 2006-03-26 21:57:14 +00:00
parent 2b5f8cbcc0
commit b1987e98f0
1 changed files with 3 additions and 2 deletions

5
dist/cdk/fselect.c vendored
View File

@ -2,8 +2,8 @@
/*
* $Author: christos $
* $Date: 2006/03/26 21:53:55 $
* $Revision: 1.5 $
* $Date: 2006/03/26 21:57:14 $
* $Revision: 1.6 $
*/
/*
@ -65,6 +65,7 @@ CDKFSELECT *newCDKFselect (CDKSCREEN *cdkscreen, int xplace, int yplace, int hei
/* Is the window null? */
if (fselect->win == 0)
{
free (fselect);
return (0);
}
keypad (fselect->win, TRUE);