[srvx-commits] CVS: services/src helpfile.c,1.59,1.60
Brought to you by:
entrope
|
From: Entrope <en...@us...> - 2002-11-22 02:21:27
|
Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv12009/src
Modified Files:
helpfile.c
Log Message:
allow close_helpfile(NULL), just for ease
Index: helpfile.c
===================================================================
RCS file: /cvsroot/srvx/services/src/helpfile.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -r1.59 -r1.60
*** helpfile.c 9 Nov 2002 02:33:22 -0000 1.59
--- helpfile.c 22 Nov 2002 02:21:25 -0000 1.60
***************
*** 518,521 ****
--- 518,522 ----
void close_helpfile(struct helpfile *hf)
{
+ if (!hf) return;
free_database(hf->db);
free(hf);
|