summaryrefslogtreecommitdiffstats
path: root/openbsc/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-06-26 19:42:14 +0200
committerHarald Welte <laforge@gnumonks.org>2009-06-26 19:42:14 +0200
commit678bdeac1f1b5983cb88f1d8fa3ee87a34324f4b (patch)
tree054b626c973dd67353755dec402cfb950a9ba7ae /openbsc/src
parent316c825fcd477b81b1ba9185d1edfc730b165377 (diff)
add FIXME about memory leak every time we close telnet
Diffstat (limited to 'openbsc/src')
-rw-r--r--openbsc/src/vty/vty.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/vty/vty.c b/openbsc/src/vty/vty.c
index ca6fff73c..c46163193 100644
--- a/openbsc/src/vty/vty.c
+++ b/openbsc/src/vty/vty.c
@@ -161,6 +161,9 @@ void vty_close(struct vty *vty)
/* OK free vty. */
free(vty);
+
+ /* FIXME: memory leak. We need to call telnet_close_client() but don't
+ * have bfd */
}
int vty_shell(struct vty *vty)