cache: fix regression
Fix a regression in cache_new introduced in commit b4f147e242ea396ef92082d29866e5ab7d041b4e
This commit is contained in:
parent
1f414ec9e7
commit
5de0e02c61
2
libfreerdp/cache/cache.c
vendored
2
libfreerdp/cache/cache.c
vendored
@ -40,7 +40,7 @@ rdpCache* cache_new(rdpSettings* settings)
|
||||
if (!cache->glyph)
|
||||
goto error_glyph;
|
||||
cache->brush = brush_cache_new(settings);
|
||||
if (cache->brush)
|
||||
if (!cache->brush)
|
||||
goto error_brush;
|
||||
cache->pointer = pointer_cache_new(settings);
|
||||
if (!cache->pointer)
|
||||
|
Loading…
Reference in New Issue
Block a user