utils/pcap: Don't allocate memory for data in pcap_get_next_record_header

This commit is contained in:
Bernhard Miklautz 2012-09-06 12:58:36 +02:00
parent bf02b5b81f
commit b2509f002b

View File

@ -136,7 +136,6 @@ boolean pcap_get_next_record_header(rdpPcap* pcap, pcap_record* record)
pcap_read_record_header(pcap, &record->header);
record->length = record->header.incl_len;
record->data = xmalloc(record->length);
return true;
}