fix various RSL msgb memory leaks in error paths
diff --git a/openbsc/src/e1_input.c b/openbsc/src/e1_input.c
index 56bce01..2d0c134 100644
--- a/openbsc/src/e1_input.c
+++ b/openbsc/src/e1_input.c
@@ -236,6 +236,7 @@
 
 	if (!msg->trx || !msg->trx->rsl_link) {
 		fprintf(stderr, "rsl_sendmsg: msg->trx == NULL\n");
+		talloc_free(msg);
 		return -EINVAL;
 	}