From: Travis Cross Date: Mon, 27 May 2013 20:47:04 +0000 (+0000) Subject: Avoid dangling reference at end of fs_cli X-Git-Tag: v1.2.13~302 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=987f76d3798529400c5580611cedb1e5dec5c647;p=thirdparty%2Ffreeswitch.git Avoid dangling reference at end of fs_cli Not that it really matters since we're returning to the OS momentarily at that point anyway. --- diff --git a/libs/esl/fs_cli.c b/libs/esl/fs_cli.c index 5a675f8b8a..56903b42e8 100644 --- a/libs/esl/fs_cli.c +++ b/libs/esl/fs_cli.c @@ -1640,6 +1640,7 @@ int main(int argc, char *argv[]) el_end(el); #endif esl_disconnect(&handle); + global_handle = NULL; thread_running = 0; return 0; }