comparison src/client.c @ 233:91c91d102564 noffle

[svn] * src/client.c: Fix memory leak in filter code.
author bears
date Fri, 08 Feb 2002 17:06:25 +0000
parents 1ad2602f57db
children fbff73fe5b40
comparison
equal deleted inserted replaced
232:6767c6f3218f 233:91c91d102564
1 /* 1 /*
2 client.c 2 client.c
3 3
4 $Id: client.c 358 2001-12-18 15:27:08Z mirkol $ 4 $Id: client.c 364 2002-02-08 17:06:25Z bears $
5 */ 5 */
6 6
7 #if HAVE_CONFIG_H 7 #if HAVE_CONFIG_H
8 #include <config.h> 8 #include <config.h>
9 #endif 9 #endif
1020 p = NULL; 1020 p = NULL;
1021 } 1021 }
1022 1022
1023 action = Flt_checkFilters( grp, p, ov, mode ); 1023 action = Flt_checkFilters( grp, p, ov, mode );
1024 if ( action == FILTER_DISCARD ) 1024 if ( action == FILTER_DISCARD )
1025 {
1026 del_Over( ov );
1025 continue; 1027 continue;
1028 }
1026 Cont_app( ov ); 1029 Cont_app( ov );
1027 prepareEntry( ov ); 1030 prepareEntry( ov );
1028 if ( action == FILTER_FULL 1031 if ( action == FILTER_FULL
1029 || ( action == FILTER_THREAD && needsMark( ref ) ) ) 1032 || ( action == FILTER_THREAD && needsMark( ref ) ) )
1030 { 1033 {
1031 Req_add( client.serv, msgId ); 1034 Req_add( client.serv, msgId );
1032 ++cntMarked; 1035 ++cntMarked;
1033 } 1036 }
1037 del_Over( ov );
1034 } 1038 }
1035 Grp_setRmtNext( client.grp, rmtNumb + 1 ); 1039 Grp_setRmtNext( client.grp, rmtNumb + 1 );
1036 } 1040 }
1037 if ( oldLast != Cont_last() ) 1041 if ( oldLast != Cont_last() )
1038 { 1042 {