summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gsmtap_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gsmtap_util.c b/src/gsmtap_util.c
index fd0bcc96..2fb18a48 100644
--- a/src/gsmtap_util.c
+++ b/src/gsmtap_util.c
@@ -440,6 +440,7 @@ struct gsmtap_inst *gsmtap_source_init(const char *host, uint16_t port,
rc = osmo_fd_register(&gti->wq.bfd);
if (rc < 0) {
+ talloc_free(gti);
close(fd);
return NULL;
}