Detected by Coverity Scan. Issues 740426, 740427, 740499.
con->errn = 0; /* no error yet */
con->timeout = 0; /* no timeout */
con->redirects = 0;
+ con->redirect_list = con->last_addr = NULL;
/* Resolve that name into an IP address */
/* No need to change RFCNB_errno as it was done by put_pkt ... */
+ RFCNB_Free_Pkt(pkt);
return (RFCNBE_Bad); /* Should be able to write that lot ... */
}
#ifdef RFCNB_DEBUG
fprintf(stderr, "Bad packet return in RFCNB_Recv... \n");
#endif
-
+ RFCNB_Free_Pkt(pkt);
return (RFCNBE_Bad);
}