From 46ca8a02521308955ddd7232d3d8889faf008e12 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 10 Oct 2012 12:38:08 -0500 Subject: [PATCH] fix little leak on vm load --- src/switch_console.c | 1 + 1 file changed, 1 insertion(+) 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; }