Fix small memory leak in cycles tile render, a few bytes for each tile.
Reported by "aquo" on IRC.
This commit is contained in:
@@ -381,7 +381,7 @@ bool Session::acquire_tile(Device *tile_device, RenderTile& rtile)
|
||||
|
||||
buffer_params.get_offset_stride(rtile.offset, rtile.stride);
|
||||
|
||||
RenderBuffers *tilebuffers = new RenderBuffers(tile_device);
|
||||
RenderBuffers *tilebuffers;
|
||||
|
||||
/* allocate buffers */
|
||||
if(params.progressive_refine) {
|
||||
|
Reference in New Issue
Block a user