diff --git a/modules/sl/sl.c b/modules/sl/sl.c index 3a8cea2bb00..5f3febbcfcc 100644 --- a/modules/sl/sl.c +++ b/modules/sl/sl.c @@ -437,9 +437,8 @@ static int w_sl_forward_reply(sip_msg_t* msg, str* code, str* reason) if(reason!=NULL) { if(ldel!=NULL) { remove_lump(msg, ldel); - } - if(ladd!=NULL) { - remove_lump(msg, ladd); + /* ladd is liked in the 'after' list inside ldel, + * destroyed together, no need for its own remove operation */ } } if(code!=NULL) {