1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

6lowpan: free fragment buffer in error case

This commit is contained in:
Oleg Hahm 2014-11-08 20:02:33 +01:00
parent 429162c20f
commit e06dce55b1

View File

@ -486,6 +486,7 @@ lowpan_reas_buf_t *new_packet_buffer(uint16_t datagram_size,
return new_buf;
}
else {
free(new_buf);
return NULL;
}
}