mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 14:13:09 +00:00
3976a43c84
This patch addresses two problems: By guarding the buffer allocation in a nested class, an exception in the body of the 'File_content' constructor reverts the allocation. Second, if the file has no content no allocation should be performed. The previous version wrongly passed a size of zero to the allocator in this case. |
||
---|---|---|
.. | ||
depot | ||
gems | ||
nano3d | ||
polygon_gfx |