stream: remove error messages in the packet path

Would only happen during allocation failure.
pull/15429/head
Victor Julien 6 months ago
parent 2bcebe5285
commit d17c0bf096

@ -283,7 +283,7 @@ static void *TcpSegmentPoolAlloc(void)
seg->pcap_hdr_storage = SCCalloc(1, sizeof(TcpSegmentPcapHdrStorage));
if (seg->pcap_hdr_storage == NULL) {
SCLogError("Unable to allocate memory for "
SCLogDebug("Unable to allocate memory for "
"TcpSegmentPcapHdrStorage");
SCFree(seg);
return NULL;
@ -292,7 +292,7 @@ static void *TcpSegmentPoolAlloc(void)
seg->pcap_hdr_storage->pkt_hdr =
SCCalloc(1, sizeof(uint8_t) * TCPSEG_PKT_HDR_DEFAULT_SIZE);
if (seg->pcap_hdr_storage->pkt_hdr == NULL) {
SCLogError("Unable to allocate memory for "
SCLogDebug("Unable to allocate memory for "
"packet header data within "
"TcpSegmentPcapHdrStorage");
SCFree(seg->pcap_hdr_storage);

Loading…
Cancel
Save