1
0
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:
Volker Lendecke 2011-03-27 10:58:19 +02:00
parent 288fb9d612
commit 66c968068d

View File

@ -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;
}