ieee802154 MAC: Free allocated TX descriptor if an error occurs after the descriptor has been allocated.

This commit is contained in:
Gregory Nutt
2017-06-20 15:00:23 -06:00
parent d9f549121c
commit cd8ac3f070
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -550,7 +550,7 @@ int sixlowpan_queue_frames(FAR struct ieee802154_driver_s *ieee,
/* And submit the frame to the MAC */
ninfo("Submitting framelist\n");
ninfo("Submitting frame\n");
ret = sixlowpan_frame_submit(ieee, &meta, iob);
if (ret < 0)
{