[srvx-commits] CVS: services/src opserv.c,1.287,1.288
Brought to you by:
entrope
|
From: Entrope <en...@us...> - 2002-11-07 00:30:21
|
Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv20564/src
Modified Files:
opserv.c
Log Message:
fix memory leak when people do a bad ?trace
Index: opserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/opserv.c,v
retrieving revision 1.287
retrieving revision 1.288
diff -C2 -r1.287 -r1.288
*** opserv.c 31 Oct 2002 03:42:28 -0000 1.287
--- opserv.c 7 Nov 2002 00:30:17 -0000 1.288
***************
*** 2854,2858 ****
if (i == argc - 1) {
opserv_notice(user, MSG_MISSING_PARAMS, argv[i]);
! return NULL;
}
if (irccasecmp(argv[i], "mask") == 0) {
--- 2854,2858 ----
if (i == argc - 1) {
opserv_notice(user, MSG_MISSING_PARAMS, argv[i]);
! goto fail;
}
if (irccasecmp(argv[i], "mask") == 0) {
|