libhb_so_recv(): don't pass a NULL filter to Filter__clear. Not sure

why thr->filter can be NULL here, though.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11136
This commit is contained in:
Julian Seward 2010-05-28 20:09:59 +00:00
parent 11cbd5ab82
commit 415232cfec

View File

@ -5711,7 +5711,8 @@ void libhb_so_recv ( Thr* thr, SO* so, Bool strong_recv )
//VtsID__rcinc(thr->viW);
}
Filter__clear(thr->filter, "libhb_so_recv");
if (thr->filter)
Filter__clear(thr->filter, "libhb_so_recv");
note_local_Kw_n_stack_for(thr);
if (strong_recv)