From: Anthony Minessale Date: Wed, 10 Oct 2012 17:38:08 +0000 (-0500) Subject: fix little leak on vm load X-Git-Tag: v1.3.0~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46ca8a02521308955ddd7232d3d8889faf008e12;p=thirdparty%2Ffreeswitch.git fix little leak on vm load --- diff --git a/src/switch_console.c b/src/switch_console.c index 121e8de336..c84b823695 100644 --- a/src/switch_console.c +++ b/src/switch_console.c @@ -219,6 +219,7 @@ SWITCH_DECLARE(switch_status_t) switch_stream_write_file_contents(switch_stream_ stream->write_function(stream, "%s", line_buf); } fclose(fd); + switch_safe_free(line_buf); status = SWITCH_STATUS_SUCCESS; }