Pull Request №659 RosettaCommons/rosetta/main ← lyskov-ai/rosetta/fix/inline-file-provider-memory-leak
Merge: 068bd85322153b1ddc5a354f8cf0633a5631e9fa←7bbc4a6638240c9abc2a15a733d9931cb50a231f
Fix memory leaks in Inline_File_Provider
----------------
Merge commit message:
Fix memory leaks in Inline_File_Provider: use unique_ptr for stream ownership
clear_input_files() and remove_input_file() were leaking stringstream
objects by calling vector::clear()/erase() without deleting the raw
pointers. get_ostream() also leaked on every call. Switch input_files
and output_files to store unique_ptr<stringstream> so the vector
destructor and erase() handle cleanup automatically.