Adding interface support for remote app (chan_lcr).
[lcr.git] / main.c
diff --git a/main.c b/main.c
index 98be1c0..0cc68a4 100644 (file)
--- a/main.c
+++ b/main.c
@@ -602,6 +602,10 @@ free:
 #endif
        }
 
+       /* close loopback, if used by GSM or remote */
+       if (mISDNloop.sock > -1)
+               mISDNloop_close();
+
        /* display memory leak */
 #define MEMCHECK(a, b) \
        if (b) { \