mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3: Fix Coverity ID 2331: RESOURCE_LEAK
This commit is contained in:
parent
288fb9d612
commit
66c968068d
@ -1826,6 +1826,7 @@ static bool store_processed_packet(struct processed_packet **pp_processed_packet
|
||||
} else if (packet->packet_type == DGRAM_PACKET) {
|
||||
p->packet_id = packet->packet.dgram.header.dgm_id;
|
||||
} else {
|
||||
SAFE_FREE(p);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user