mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed some (trivial) memory leaks
SVN revision: 1051
This commit is contained in:
parent
2f3451ffce
commit
840f614ea2
12
src/elogd.c
12
src/elogd.c
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.454 2004/08/09 09:54:27 midas
|
||||||
|
Fixed some (trivial) memory leaks
|
||||||
|
|
||||||
Revision 1.453 2004/08/09 08:50:46 midas
|
Revision 1.453 2004/08/09 08:50:46 midas
|
||||||
Finished hiding of attachments
|
Finished hiding of attachments
|
||||||
|
|
||||||
@ -20519,6 +20522,15 @@ void server_loop(void)
|
|||||||
|
|
||||||
} while (!_abort);
|
} while (!_abort);
|
||||||
|
|
||||||
|
/* free all allocated memory */
|
||||||
|
for (i = 0; lb_list[i].name[0] ; i++) {
|
||||||
|
xfree(lb_list[i].el_index);
|
||||||
|
xfree(lb_list[i].n_el_index);
|
||||||
|
}
|
||||||
|
|
||||||
|
xfree(net_buffer);
|
||||||
|
xfree(return_buffer);
|
||||||
|
|
||||||
eprintf("Server aborted.\n");
|
eprintf("Server aborted.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user