fix little leak on vm load

This commit is contained in:
Anthony Minessale 2012-10-10 12:38:08 -05:00
parent 9bbee350c2
commit 46ca8a0252
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}