mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 00:11:07 +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 |