[srvx-commits] CVS: services/src saxdb.c,1.21,1.22
Brought to you by:
entrope
|
From: Zoot <zo...@us...> - 2002-11-22 21:55:36
|
Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv9614/src
Modified Files:
saxdb.c
Log Message:
Fix a small memory leak in saxdb_write_db().
Index: saxdb.c
===================================================================
RCS file: /cvsroot/srvx/services/src/saxdb.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** saxdb.c 14 Nov 2002 00:50:10 -0000 1.21
--- saxdb.c 22 Nov 2002 21:55:32 -0000 1.22
***************
*** 134,137 ****
--- 134,138 ----
if (!ctx.output) {
log(MAIN_LOG, LOG_ERROR, "Unable to write to %s: %s\n", tmp_fname, strerror(errno));
+ int_list_clean(&ctx.complex);
return 1;
}
|