mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-26 07:19:28 +00:00
Fixed crash on null paths cache
Monotone-Parent: 738bb5934b9505acd57737d65ba73eb95e8a9379 Monotone-Revision: 07da2515c4d2be88823f4531db65f3d4d995acdc Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2012-02-14T15:51:23
This commit is contained in:
@@ -215,7 +215,7 @@ static memcached_st *handle = NULL;
|
||||
inContainer: [container container]];
|
||||
fullPath = [self _pathFromObject: container
|
||||
withName: name];
|
||||
if (![cache objectForKey: fullPath])
|
||||
if (fullPath && ![cache objectForKey: fullPath])
|
||||
{
|
||||
[cache setObject: object forKey: fullPath];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user