@@ -343,6 +343,7 @@ int tr_byxxx_init(tr_byxxx_t *_bxp, int _nr)
if(!_bxp->req)
{
pkg_free(_bxp->xxx);
+ _bxp->xxx = NULL;
return -1;
}