[l1ctl] Adding missing msgb_free()
[osmocom-bb.git] / src / host / layer23 / src / common / l1ctl.c
index ac8bac8..d47275a 100644 (file)
@@ -208,6 +208,7 @@ static int rx_ph_data_ind(struct osmocom_ms *ms, struct msgb *msg)
 printf("Dropping frame with %u bit errors\n", dl->num_biterr);
                LOGP(DL1C, LOGL_NOTICE, "Dropping frame with %u bit errors\n",
                        dl->num_biterr);
+               msgb_free(msg);
                return 0;
        }